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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin15
RA = 141.005, Dec = 28.2755
tmin = 243216001, tmax = 243475201
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='214468', job_status='RUN', time_executed='2021-08-31 11:06:48.625929', time_epoch_executed='1630433208.63' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214468

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214468/ft1_4FGL_J0924.0+2816_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214468/ft1_4FGL_J0924.0+2816_daily_bin15.fits outfile=/scratch/kocevski/214468/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin15.fits ra=141.005 dec=28.2755 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.35
user 1.19
sys 0.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.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/214468/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin15.fits evtable="EVENTS" outfile="/scratch/kocevski/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/214468/ltcube_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.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/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits
.....................!
real 12.26
user 11.93
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/214468/ltcube_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.fits outfile=/scratch/kocevski/214468/expmap_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.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/214468/ltcube_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.fits
.....................!
real 190.17
user 185.36
sys 4.25

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/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.fits scfile=/scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits outfile=/scratch/kocevski/214468/cmap_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.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.62
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.fits scfile=/scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits outfile=/scratch/kocevski/214468/cmap_HighResolution_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.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.84
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214468/Model_4FGL_J0924.0+2816_daily_bin15.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/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.fits.....................!
real 69.98
user 66.85
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.fits', '/scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits', expMap='/scratch/kocevski/214468/expmap_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.fits', expCube='/scratch/kocevski/214468/ltcube_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214468/Model_4FGL_J0924.0+2816_daily_bin15.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/214468/ft1_filtered_4FGL_J0924.0+2816_daily_bin15.fits
Spacecraft file(s): /scratch/kocevski/214468/ft2_4FGL_J0924.0+2816_daily_bin15.fits
Exposure map: /scratch/kocevski/214468/expmap_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.fits
Exposure cube: /scratch/kocevski/214468/ltcube_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214468/Model_4FGL_J0924.0+2816_daily_bin15.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) = 8145.22436655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60791       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5734       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.2528       1.0000         .10000E-03   10000.    
     4 'norm      '    11.413       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.376       1.0000         .10000E-03   10000.    
     7 'norm      '    .42520       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2266       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.0976       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .87516       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10680E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3580       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.4038       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .65116       1.0000         .10000E-03   10000.    
    18 'norm      '    19.859       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1368       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93406       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=   8145.223     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     2031 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60788        .46360        .30497E-07    .62971E-04
   2  Prefactor     5.5737        7.7807        .18925E-06   -.79287E-05
   3  Prefactor     7.2544        11.695        .10904E-06   -.60425E-04
   4  norm          11.413        25.604        .30283E-06   -.10422E-04
   5  Prefactor     .10000E-03    .74470        .68149E-08** at limit **
   6  Prefactor     30.378        32.095        .88882E-07    .68015E-05
   7  norm          .42591        .96437        .36133E-06    .53417E-03
   8  Prefactor     5.2247        15.854        .30086E-06   -.15746E-04
   9  Prefactor     .10000E-03    22.802        .93944E-08** at limit **
  10  norm          9.0987        7.9602        .72944E-07   -.97169E-04
  11  Prefactor     .87493        2.7639        .11951E-05   -.14803E-03
  12  Prefactor     .10000E-03    12.776       -.36271E-08** at limit **
  13  Prefactor     .10000E-03    72.053        .15281E-05** at limit **
  14  Prefactor     .10000E-03    81.204       -.16891E-05** at limit **
  15  Prefactor     5.3587        5.3922        .26550E-06   -.64560E-04
  16  Prefactor     1.4059        13.323        .28023E-05   -.44539E-04
  17  Prefactor     .65090        1.5387        .65283E-06   -.46623E-04
  18  norm          19.860        9.2510        .30682E-07   -.20806E-04
  19  Normalizat    1.1367        .15505       -.94588E-06   -.18693E-03
  20  Prefactor     .93410        .14743       -.19593E-06   -.18259E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.60788
  Prefactor  = 5.57372
  Prefactor  = 7.25436
  norm       = 11.4128
  Prefactor  = 0.0001
  Prefactor  = 30.3781
  norm       = 0.425908
  Prefactor  = 5.22475
  Prefactor  = 0.0001
  norm       = 9.09869
  Prefactor  = 0.874931
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100004
  Prefactor  = 5.35865
  Prefactor  = 1.40586
  Prefactor  = 0.650895
  norm       = 19.8599
  Normalizat = 1.1367
  Prefactor  = 0.934104
 **********
 **   18 **HESSE 
 **********

 FCN=   8145.223     FROM HESSE     STATUS=OK           301 CALLS     2332 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60788        .45227        .51438E-04   -1.5552    
   2  Prefactor     5.5737        7.7508        .17017E-03   -1.5236    
   3  Prefactor     7.2544        11.684        .14894E-03   -1.5169    
   4  norm          11.413        25.599        .11858E-03   -1.5032    
   5  Prefactor     .10000E-03    .74868        .76052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.378        32.007        .72697E-04   -1.4605    
   7  norm          .42591        .79519        .13281E-02   -1.5577    
   8  Prefactor     5.2247        15.725        .17583E-03   -1.5251    
   9  Prefactor     .10000E-03    22.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.0987        7.9242        .13288E-03   -1.5105    
  11  Prefactor     .87493        2.6285        .24081E-03   -1.5521    
  12  Prefactor     .10000E-03    12.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    73.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    82.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.3587        5.3742        .17362E-03   -1.5245    
  16  Prefactor     1.4059        13.283        .36603E-03   -1.5471    
  17  Prefactor     .65090        1.5027        .16503E-03   -1.5547    
  18  norm          19.860        9.2463        .89877E-04   -1.4816    
  19  Normalizat    1.1367        .17816        .22966E-03   -.88582    
  20  Prefactor     .93410        .17073        .24948E-03   -.94959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58756e-10
Minuit parameter uncertainties:
  1  0.452268
  2  7.75216
  3  11.6874
  4  25.6233
  5  4.39494e-07
  6  32.0254
  7  0.795208
  8  15.737
  9  5.9042e-07
  10  7.92512
  11  2.62884
  12  2.52757e-06
  13  0.00108522
  14  0.00115329
  15  5.37466
  16  8.64491
  17  1.50281
  18  9.24696
  19  0.17825
  20  0.170828
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  8.749e-01  2.629e+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:  9.341e-01  1.708e-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:  1.137e+00  1.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/214468/likelihoodResults_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.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): 0
logL (Free Index) = 8145.22210929
delta logL = 0.000939356061281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8145.221897
delta logL = 0.00115165010902

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82836       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5837       1.0000          .0000       10.000    
     3 'Normalizat'    1.1357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93483       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8145.222     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      256 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82712        2.8411        .23126E-03   -.55599E-04
   2  Index         2.5894        1.7982        .87918E-02   -.86547E-05
   3  Normalizat    1.1359        .17133        .22973E-03   -.18508E-04
   4  Prefactor     .93467        .16975        .24941E-03   -.34369E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.82712
  Index      = 2.58942
  Normalizat = 1.13593
  Prefactor  = 0.934667
 **********
 **   18 **HESSE 
 **********

 FCN=   8145.222     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82712        2.7234        .92505E-05   -1.5526    
   2  Index         2.5894        1.7277        .35167E-03   -.50307    
   3  Normalizat    1.1359        .17153        .91893E-05   -.88607    
   4  Prefactor     .93467        .16988        .99764E-05   -.94940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51077e-11
Minuit parameter uncertainties:
  1  2.72379
  2  1.77596
  3  0.171616
  4  0.169979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214468': 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) = 8145.22189007
delta logL = 0.00115857616038

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  8.271e-01  2.724e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.589e+00  1.776e+00  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:  9.347e-01  1.700e-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:  1.136e+00  1.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/214468/cmap_HighResolution_243216001_243475201_4FGL_J0924.0+2816_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2021-08-31 11:17:34.577779', job_id='214468', GAL2='0.93', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630433854.58', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.16e-03', ts2='0.13', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='15' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:17:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 214468: <4FGL_J0924.0+2816_daily_bin15> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin15> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 11:06:15 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:06:16 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:16 2021
Terminated at Tue Aug 31 11:17:35 2021
Results reported at Tue Aug 31 11:17:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin15 141.005 28.2755 243216001 243475201 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 :                                   642.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            680 sec.

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

