/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 110 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7406
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0733.8+0455_daily_bin893
RA = 113.472, Dec = 4.9282
tmin = 470793601, tmax = 471052801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='494007', job_status='RUN', time_executed='2021-08-27 15:13:03.179427', time_epoch_executed='1630102383.18' WHERE source_name='4FGL J0733.8+0455' and cadence='daily' and bin_id='893'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/494007

Creating custom pfile directory:
/scratch/kocevski/494007/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=470793601.0 && nMetStart<471052801.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=470793601.0 && nMetStart<471052801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/494007/ft1_4FGL_J0733.8+0455_daily_bin893.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=470793601.0 && nMetStart<471052801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/494007/ft1_4FGL_J0733.8+0455_daily_bin893.fits outfile=/scratch/kocevski/494007/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin893.fits ra=113.472 dec=4.9282 rad=12.0 tmin=470793601.0 tmax=471052801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.95
user 3.28
sys 0.51

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/494007/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin893.fits evtable="EVENTS" outfile="/scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.82
user 0.33
sys 0.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits" evtable="EVENTS" scfile=/scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits sctable="SC_DATA" outfile=/scratch/kocevski/494007/ltcube_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits
.....................!
real 12.29
user 11.50
sys 0.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits evtable="EVENTS" scfile=/scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits sctable="SC_DATA" expcube=/scratch/kocevski/494007/ltcube_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits outfile=/scratch/kocevski/494007/expmap_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/494007/ltcube_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits
.....................!
real 193.71
user 187.08
sys 5.81

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 159 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0733.8+0455 @ 113.472 4.9282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits scfile=/scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits outfile=/scratch/kocevski/494007/cmap_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=113.472 yref=4.9282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.88
user 0.37
sys 0.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits scfile=/scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits outfile=/scratch/kocevski/494007/cmap_HighResolution_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=113.472 yref=4.9282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.85
user 0.36
sys 0.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits evtable="EVENTS" scfile=/scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/494007/Model_4FGL_J0733.8+0455_daily_bin893.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits.....................!
real 124.59
user 121.38
sys 2.60

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits', '/scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits', expMap='/scratch/kocevski/494007/expmap_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits', expCube='/scratch/kocevski/494007/ltcube_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/494007/Model_4FGL_J0733.8+0455_daily_bin893.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0733.8+0455'

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  9.575e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
216        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
217        Scale:  8.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/494007/ft1_filtered_4FGL_J0733.8+0455_daily_bin893.fits
Spacecraft file(s): /scratch/kocevski/494007/ft2_4FGL_J0733.8+0455_daily_bin893.fits
Exposure map: /scratch/kocevski/494007/expmap_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits
Exposure cube: /scratch/kocevski/494007/ltcube_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/494007/Model_4FGL_J0733.8+0455_daily_bin893.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 8502.53469068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 8502.52299369

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.412       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .76826       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    56.542       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.678       1.0000         .10000E-03   10000.    
     9 'Prefactor '    80.064       1.0000         .10000E-03   10000.    
    10 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4811       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.361       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .78332       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.110       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .31299       1.0000         .10000E-03   10000.    
    20 'norm      '    10.707       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.8418       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .62982       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8502.523     FROM MIGRAD    STATUS=CONVERGED    943 CALLS     3017 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.417        25.563        .63055E-04    .11900E-04
   2  Prefactor     .10000E-03    19.911        .18142E-02** at limit **
   3  norm          .76958        6.2719        .43362E-03   -.46931E-04
   4  norm          .10000E-03    1.7366        .17489E-02** at limit **
   5  norm          .10000E-03    .37599        .10779E-03** at limit **
   6  Prefactor     56.519        51.028        .53349E-04    .25572E-06
   7  Prefactor     .10000E-03    9.1073        .18142E-02** at limit **
   8  Prefactor     26.679        17.263        .77560E-04    .70358E-05
   9  Prefactor     80.055        42.364        .44884E-04   -.11145E-05
  10  norm          .10000E-03    1.9310        .18131E-02** at limit **
  11  Prefactor     .10000E-03    14.313        .18142E-02** at limit **
  12  Prefactor     2.4806        3.1627        .17064E-03   -.19588E-04
  13  norm          .10000E-03    29.100        .18142E-02** at limit **
  14  Prefactor     23.356        15.516        .82875E-04    .38410E-05
  15  Prefactor     .10000E-03    41.368        .18142E-02** at limit **
  16  Prefactor     .78347        11.720        .49510E-03   -.24294E-04
  17  Prefactor     20.206        46.204        .89315E-04   -.15275E-04
  18  norm          .10000E-03    3.1165        .15882E-02** at limit **
  19  norm          .23670        25.291        .10668        .19066E-03
  20  norm          10.708        5.1057        .61221E-03   -.14362E-03
  21  Prefactor     5.7563        57.509        .16616E-03   -.21210E-04
  22  Normalizat    .63000        .22164        .46784E-03   -.35965E-04
  23  Prefactor     1.0479        .76171E-01    .14562E-03    .31229E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 40.4171
  Prefactor  = 0.0001
  norm       = 0.769579
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 56.5192
  Prefactor  = 0.0001
  Prefactor  = 26.6789
  Prefactor  = 80.0554
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.48055
  norm       = 0.0001
  Prefactor  = 23.3558
  Prefactor  = 0.0001
  Prefactor  = 0.783472
  Prefactor  = 20.2065
  norm       = 0.0001
  norm       = 0.236702
  norm       = 10.7082
  Prefactor  = 5.7563
  Normalizat = 0.630005
  Prefactor  = 1.04792
 **********
 **   18 **HESSE 
 **********

 FCN=   8502.523     FROM HESSE     STATUS=OK           356 CALLS     3373 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.417        25.551        .25222E-05   -1.4436    
   2  Prefactor     .10000E-03    19.912        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .76958        6.2662        .17345E-04   -1.5533    
   4  norm          .10000E-03    1.7408        .34978E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .37599        .21558E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     56.519        51.022        .10670E-04   -1.4203    
   7  Prefactor     .10000E-03    9.1116        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.679        17.261        .31024E-05   -1.4674    
   9  Prefactor     80.055        42.361        .89769E-05   -1.3916    
  10  norm          .10000E-03    1.9363        .36262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.313        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4806        3.1620        .68255E-05   -1.5393    
  13  norm          .10000E-03    29.114        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.356        15.513        .33150E-05   -1.4741    
  15  Prefactor     .10000E-03    41.368        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .78347        11.717        .19804E-04   -1.5531    
  17  Prefactor     20.206        45.961        .35726E-05   -1.4809    
  18  norm          .10000E-03    3.1167        .31765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .23670        23.599        .11116       -1.5611    
  20  norm          10.708        5.1051        .24489E-04   -1.5053    
  21  Prefactor     5.7563        57.343        .66464E-05   -1.5228    
  22  Normalizat    .63000        .22157        .18714E-04   -1.0672    
  23  Prefactor     1.0479        .76150E-01    .58246E-05   -.91149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28474e-10
Minuit parameter uncertainties:
  1  25.5576
  2  1.73533e-05
  3  4.39229
  4  1.44823e-05
  5  4.89896e-07
  6  51.0613
  7  1.85611e-05
  8  17.2645
  9  42.3765
  10  1.75741e-05
  11  5.61162e-06
  12  3.16225
  13  2.55981e-05
  14  15.516
  15  5.18457e-05
  16  6.06072
  17  46.0418
  18  5.2452e-08
  19  4.72779
  20  5.10533
  21  36.3813
  22  0.221887
  23  0.076158
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 8502.52298193

Extracting fit parameters...

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  8.006e+01  4.238e+01  1.000e-04  1.000e+04 ( 1.000e-13)
216        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
217        Scale:  8.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.048e+00  7.616e-02  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  6.300e-01  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.90
Ra Dec: 113.472 4.928
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.07e-07 +/- 5.64e-08
Energy Flux (Fixed Index): 3.33e-05 +/- 1.76e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8502.46272924
delta logL = 0.0602526933417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8502.45757985
delta logL = 0.0654020792699

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.612       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6530       1.0000          .0000       10.000    
     3 'Normalizat'    .61537       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0507       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8502.458     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      288 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.608        63.467        .49546E-04   -.10794E-03
   2  Index         2.6531        .71782        .56293E-02   -.52343E-04
   3  Normalizat    .61536        .18643        .47301E-03   -.96428E-04
   4  Prefactor     1.0508        .71071E-01    .14545E-03   -.31938E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.6081
  Index      = 2.65312
  Normalizat = 0.61536
  Prefactor  = 1.05077
 **********
 **   18 **HESSE 
 **********

 FCN=   8502.458     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.608        56.515        .99093E-05   -1.4086    
   2  Index         2.6531        .63864        .22517E-03   -.48858    
   3  Normalizat    .61536        .18581        .18920E-04   -1.0734    
   4  Prefactor     1.0508        .70954E-01    .29089E-04   -.91056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64182e-11
Minuit parameter uncertainties:
  1  56.5608
  2  0.64089
  3  0.186
  4  0.0709601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/494007': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8502.45757973
delta logL = 0.0654021982336

Extracting fit parameters...

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  6.561e+01  5.656e+01  1.000e-04  1.000e+04 ( 1.000e-13)
216        Index:  2.653e+00  6.409e-01  0.000e+00  1.000e+01 (-1.000e+00)
217        Scale:  8.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.051e+00  7.096e-02  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  6.154e-01  1.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.10
Ra Dec: 113.472 4.928
Photon Index (Free Index): 2.65 +/- 0.64
Photon Flux (Free Index): 1.21e-07 +/- 7.13e-08
Energy Flux (Free Index): 3.03e-05 +/- 1.71e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/494007/cmap_HighResolution_470793601_471052801_4FGL_J0733.8+0455_daily_bin893.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/494007

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.07e-07', energy_flux2='3.03e-05', photon_flux_error='5.64e-08', dlogl='6.54e-02', energy_flux='3.33e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-08-27 15:26:21.729908', photon_index_error2='0.64', photon_index2='2.65', ts='5.90', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='0.63', time_epoch_completed='1630103181.73', return_code='0', job_id='494007', GAL2='1.05', EG2='0.62', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='7.13e-08', ts2='6.10', photon_index='2.44' WHERE bin_id='893' AND source_name='4FGL J0733.8+0455' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 15:26:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 494007: <4FGL_J0733.8+0455_daily_bin893> in cluster <slac> Done

Job <4FGL_J0733.8+0455_daily_bin893> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 27 15:10:25 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 15:10:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 15:10:54 2021
Terminated at Fri Aug 27 15:26:22 2021
Results reported at Fri Aug 27 15:26:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.8+0455_daily_bin893 113.472 4.9282 470793601 471052801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0733.8+0455 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   800.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            957 sec.

The output (if any) is above this job summary.

