/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 187 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 = 7630
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin97
RA = 141.005, Dec = 28.2755
tmin = 264470401, tmax = 264729601
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='214602', job_status='RUN', time_executed='2021-08-31 11:10:38.661731', time_epoch_executed='1630433438.66' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='97'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214602

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214602/ft1_4FGL_J0924.0+2816_daily_bin97.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214602/ft1_4FGL_J0924.0+2816_daily_bin97.fits outfile=/scratch/kocevski/214602/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin97.fits ra=141.005 dec=28.2755 rad=12.0 tmin=264470401.0 tmax=264729601.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 2.19
user 1.35
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.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/214602/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin97.fits evtable="EVENTS" outfile="/scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.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 1.15
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.fits" evtable="EVENTS" scfile=/scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits sctable="SC_DATA" outfile=/scratch/kocevski/214602/ltcube_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.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/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits
.....................!
real 12.77
user 12.06
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.fits evtable="EVENTS" scfile=/scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits sctable="SC_DATA" expcube=/scratch/kocevski/214602/ltcube_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.fits outfile=/scratch/kocevski/214602/expmap_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.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/214602/ltcube_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.fits
.....................!
real 193.75
user 185.34
sys 3.99

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
Added 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0924.0+2816 @ 141.005 28.2755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.fits scfile=/scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits outfile=/scratch/kocevski/214602/cmap_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.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=141.005 yref=28.2755 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.56
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.fits scfile=/scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits outfile=/scratch/kocevski/214602/cmap_HighResolution_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.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=141.005 yref=28.2755 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.65
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.fits evtable="EVENTS" scfile=/scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214602/Model_4FGL_J0924.0+2816_daily_bin97.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
Working on...
/scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.fits.....................!
real 53.50
user 52.03
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.fits', '/scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits', expMap='/scratch/kocevski/214602/expmap_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.fits', expCube='/scratch/kocevski/214602/ltcube_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214602/Model_4FGL_J0924.0+2816_daily_bin97.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0924.0+2816'

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.227e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/214602/ft1_filtered_4FGL_J0924.0+2816_daily_bin97.fits
Spacecraft file(s): /scratch/kocevski/214602/ft2_4FGL_J0924.0+2816_daily_bin97.fits
Exposure map: /scratch/kocevski/214602/expmap_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.fits
Exposure cube: /scratch/kocevski/214602/ltcube_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214602/Model_4FGL_J0924.0+2816_daily_bin97.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) = 6220.07145715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84615       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .21628E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10374E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25804E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .21603E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .95411E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6918       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .74907E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.665       1.0000         .10000E-03   10000.    
    13 'Prefactor '    34.545       1.0000         .10000E-03   10000.    
    14 'Prefactor '    66.125       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5739       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .62710       1.0000         .10000E-03   10000.    
    18 'norm      '    33.358       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84629       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6220.066     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2463 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84614        .50683        .50132E-07    .73044E-04
   2  Prefactor     .10000E-03    3.7612        .15197E-06** at limit **
   3  Prefactor     .10002E-03    7.9894        .95259E-06** at limit **
   4  norm          .10000E-03    8.5954        .17225E-06** at limit **
   5  Prefactor     .10000E-03    1.7514        .24086E-06** at limit **
   6  Prefactor     .10000E-03    11.402       -.38222E-06** at limit **
   7  norm          .22238E-01    .78808       -.46550E-06    .11319E-02
   8  Prefactor     .10000E-03    13.881        .32527E-06** at limit **
   9  Prefactor     .35643        34.199        .17455E-06   -.58522E-04
  10  norm          2.6915        7.9464        .98864E-05   -.35183E-03
  11  Prefactor     .68428E-01    1.5436       -.20567E-06    .36316E-03
  12  Prefactor     49.682        30.556        .37404E-05    .77384E-04
  13  Prefactor     34.599        73.665       -.23672E-05    .30698E-04
  14  Prefactor     66.097        50.350        .31112E-04    .81848E-05
  15  Prefactor     1.5728        6.0978       -.89581E-05   -.90827E-03
  16  Prefactor     .10000E-03    2.6874        .53246E-07** at limit **
  17  Prefactor     .62639        1.6213        .14663E-06   -.60073E-03
  18  norm          33.355        12.186        .85515E-06    .16989E-03
  19  Normalizat    .84633        .16610       -.29315E-05    .44188E-04
  20  Prefactor     1.1371        .16404       -.68302E-06   -.56974E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.846136
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0222382
  Prefactor  = 0.000100002
  Prefactor  = 0.356428
  norm       = 2.69153
  Prefactor  = 0.068428
  Prefactor  = 49.6819
  Prefactor  = 34.5992
  Prefactor  = 66.0972
  Prefactor  = 1.57281
  Prefactor  = 0.0001
  Prefactor  = 0.626386
  norm       = 33.3551
  Normalizat = 0.846326
  Prefactor  = 1.13711
 **********
 **   18 **HESSE 
 **********

 FCN=   6220.066     FROM HESSE     STATUS=OK           307 CALLS     2770 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84614        .51068        .42158E-04   -1.5524    
   2  Prefactor     .10000E-03    3.7700        .14937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10002E-03    91.630        .42335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.5975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.7754        .20084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .22238E-01    10.418        .13418E-02   -1.5678    
   8  Prefactor     .10000E-03    13.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .35643        35.081        .14385       -1.5589    
  10  norm          2.6915        7.8260        .24832E-03   -1.5380    
  11  Prefactor     .68428E-01    21.621        .18339E-02   -1.5656    
  12  Prefactor     49.682        30.502        .56904E-04   -1.4297    
  13  Prefactor     34.599        73.400        .68181E-04   -1.4531    
  14  Prefactor     66.097        49.829        .49355E-04   -1.4080    
  15  Prefactor     1.5728        6.1998        .33875E-03   -1.5457    
  16  Prefactor     .10000E-03    2.6940        .12626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .62639        1.5859        .15244E-03   -1.5550    
  18  norm          33.355        12.167        .69380E-04   -1.4552    
  19  Normalizat    .84633        .18442        .24710E-03   -.98373    
  20  Prefactor     1.1371        .18667        .22604E-03   -.88289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.85591e-09
Minuit parameter uncertainties:
  1  0.510684
  2  6.12157e-06
  3  0.00273312
  4  6.09187e-06
  5  7.79722e-05
  6  2.86939e-05
  7  0.960643
  8  0.000303212
  9  7.07546
  10  7.82897
  11  2.43176
  12  30.512
  13  73.5922
  14  49.8608
  15  6.20236
  16  5.28815e-06
  17  1.58602
  18  12.1677
  19  0.184562
  20  0.186773
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  6.843e-02  2.432e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.137e+00  1.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  8.463e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 6.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214602/likelihoodResults_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.txt

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): 102
logL (Free Index) = 6219.91250631
delta logL = 0.1536885166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6219.91224097
delta logL = 0.153953856772

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6219.912     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      223 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42162E-01    2.0831        .64535E-02    .60767E-02
   2  Index         5.0823        7.5411        .20139E-01    .81483E-04
   3  Normalizat    .81298        .35017E-01    .43779E-01   -.17582E-04
   4  Prefactor     1.1582        .36106E-01    .35703E-01   -.61477E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0421621
  Index      = 5.08228
  Normalizat = 0.81298
  Prefactor  = 1.15816
 **********
 **   18 **HESSE 
 **********

 FCN=   6219.912     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      252 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42162E-01    7.1310        .27988E-04   -1.5667    
   2  Index         5.0823        5.6653        .80554E-03    .16456E-01
   3  Normalizat    .81298        .18327        .25174E-03   -.99589    
   4  Prefactor     1.1582        .18613        .22429E-03   -.87629    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.38513e-10
Minuit parameter uncertainties:
  1  1.09548
  2  14.5266
  3  0.183406
  4  0.186238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214602': 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): 102
logL (Free Index) = 6219.91223822
delta logL = 0.153956614133

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  4.216e-02  1.095e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  5.082e+00  1.453e+01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.158e+00  1.862e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  8.130e-01  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 141.005 28.276

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/214602/cmap_HighResolution_264470401_264729601_4FGL_J0924.0+2816_daily_bin97.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', job_status='DONE', photon_flux_upper_limit='6.87e-08', time_completed='2021-08-31 11:20:48.212980', job_id='214602', GAL2='1.16', fit_tolerance='1e-08', EG2='0.81', EG='0.85', time_epoch_completed='1630434048.21', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.54e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='97' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:20:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 214602: <4FGL_J0924.0+2816_daily_bin97> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin97> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 11:06:23 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:06:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:06:26 2021
Terminated at Tue Aug 31 11:20:48 2021
Results reported at Tue Aug 31 11:20:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin97 141.005 28.2755 264470401 264729601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0924.0+2816 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            865 sec.

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

