/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 3 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 = 7424
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin692
RA = 141.005, Dec = 28.2755
tmin = 418694401, tmax = 418953601
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='219350', job_status='RUN', time_executed='2021-08-31 11:20:59.878088', time_epoch_executed='1630434059.88' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219350

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219350/ft1_4FGL_J0924.0+2816_daily_bin692.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219350/ft2_4FGL_J0924.0+2816_daily_bin692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219350/ft1_4FGL_J0924.0+2816_daily_bin692.fits outfile=/scratch/kocevski/219350/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin692.fits ra=141.005 dec=28.2755 rad=12.0 tmin=418694401.0 tmax=418953601.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 6.56
user 4.89
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219350/ft1_filtered_4FGL_J0924.0+2816_daily_bin692.fits evtable="EVENTS" scfile=/scratch/kocevski/219350/ft2_4FGL_J0924.0+2816_daily_bin692.fits sctable="SC_DATA" expcube=/scratch/kocevski/219350/ltcube_418694401_418953601_4FGL_J0924.0+2816_daily_bin692.fits outfile=/scratch/kocevski/219350/expmap_418694401_418953601_4FGL_J0924.0+2816_daily_bin692.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/219350/ltcube_418694401_418953601_4FGL_J0924.0+2816_daily_bin692.fits
.....................!
real 189.83
user 185.24
sys 3.88

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/219350/ft1_filtered_4FGL_J0924.0+2816_daily_bin692.fits scfile=/scratch/kocevski/219350/ft2_4FGL_J0924.0+2816_daily_bin692.fits outfile=/scratch/kocevski/219350/cmap_418694401_418953601_4FGL_J0924.0+2816_daily_bin692.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.75
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219350/ft1_filtered_4FGL_J0924.0+2816_daily_bin692.fits scfile=/scratch/kocevski/219350/ft2_4FGL_J0924.0+2816_daily_bin692.fits outfile=/scratch/kocevski/219350/cmap_HighResolution_418694401_418953601_4FGL_J0924.0+2816_daily_bin692.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.86
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0335       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9655       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.552       1.0000         .10000E-03   10000.    
     7 'norm      '    .83490       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13475E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    24.102       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.2929       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6937       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.437       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2248       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18069       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .97588       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1980       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=   6080.532     FROM MIGRAD    STATUS=CONVERGED    761 CALLS     2926 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0337        1.1185        .41742E-04    .14898E-03
   2  Prefactor     .10000E-03    5.2368        .17414E-02** at limit **
   3  Prefactor     .10000E-03    19.511        .18142E-02** at limit **
   4  norm          .10000E-03    12.015        .18142E-02** at limit **
   5  Prefactor     6.9653        4.4203        .62694E-03    .89272E-03
   6  Prefactor     25.276        51.732        .79248E-04    .21114E-03
   7  norm          .83489        .88582        .71876E-03   -.13076E-02
   8  Prefactor     .28082        60.904        .10364        .16540E-03
   9  Prefactor     .10000E-03    130.41        .18142E-02** at limit **
  10  norm          24.046        13.222        .81593E-04    .40680E-03
  11  Prefactor     5.2934        4.1160        .13186E-03    .16795E-03
  12  Prefactor     7.7030        37.948        .14457E-03   -.11953E-04
  13  Prefactor     .10000E-03    27.895        .18142E-02** at limit **
  14  Prefactor     27.446        49.719        .76483E-04   -.35674E-05
  15  Prefactor     6.2278        8.3049        .16090E-03   -.44656E-04
  16  Prefactor     .10000E-03    10.281        .18142E-02** at limit **
  17  Prefactor     .18011        10.017        .16832E-02   -.96319E-03
  18  norm          .10000E-03    5.7084        .18115E-02** at limit **
  19  Normalizat    .97567        .24019        .27041E-03    .16733E-04
  20  Prefactor     1.1980        .22316        .24756E-03    .41620E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.03368
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.9653
  Prefactor  = 25.2757
  norm       = 0.834889
  Prefactor  = 0.280822
  Prefactor  = 0.0001
  norm       = 24.0457
  Prefactor  = 5.29345
  Prefactor  = 7.70303
  Prefactor  = 0.0001
  Prefactor  = 27.4464
  Prefactor  = 6.22778
  Prefactor  = 0.0001
  Prefactor  = 0.180106
  norm       = 0.0001
  Normalizat = 0.975669
  Prefactor  = 1.198
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.532     FROM HESSE     STATUS=OK           285 CALLS     3211 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0337        1.1183        .16697E-05   -1.5306    
   2  Prefactor     .10000E-03    5.2370        .34827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.518        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    12.015        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.9653        4.4194        .25078E-04   -1.5180    
   6  Prefactor     25.276        51.548        .15850E-04   -1.4702    
   7  norm          .83489        .88587        .14375E-03   -1.5525    
   8  Prefactor     .28082        58.742        .10528       -1.5602    
   9  Prefactor     .10000E-03    130.44        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          24.046        13.194        .16319E-04   -1.4727    
  11  Prefactor     5.2934        4.1150        .52745E-05   -1.5248    
  12  Prefactor     7.7030        37.926        .57829E-05   -1.5153    
  13  Prefactor     .10000E-03    27.896        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.446        49.703        .30593E-05   -1.4660    
  15  Prefactor     6.2278        8.2985        .64359E-05   -1.5209    
  16  Prefactor     .10000E-03    10.288        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .18011        9.9199        .67328E-04   -1.5623    
  18  norm          .10000E-03    5.7103        .36231E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .97567        .23949        .10817E-04   -.93850    
  20  Prefactor     1.1980        .22321        .49512E-04   -.86393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15464e-09
Minuit parameter uncertainties:
  1  1.11834
  2  8.51902e-07
  3  0.000101281
  4  1.56271e-05
  5  4.41958
  6  51.6389
  7  0.885881
  8  8.12967
  9  0.000438281
  10  13.1955
  11  4.11521
  12  34.2191
  13  1.32641e-05
  14  49.7782
  15  8.30007
  16  6.13949e-05
  17  2.67303
  18  7.56816e-07
  19  0.239752
  20  0.223385
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  5.293e+00  4.115e+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.198e+00  2.234e-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:  9.757e-01  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.43
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 5.11e-08 +/- 3.97e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.15e-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) = 6080.37362949
delta logL = 0.158799989902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6080.36808444
delta logL = 0.164345044323

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5817       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1075       1.0000          .0000       10.000    
     3 'Normalizat'    .99866       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1844       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=   6080.368     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      227 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5813        4.8356        .15046E-03    .25423E-02
   2  Index         2.1072        .68903        .91517E-02    .42345E-03
   3  Normalizat    .99868        .22262        .26764E-03   -.19947E-03
   4  Prefactor     1.1845        .22101        .24877E-03   -.23071E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.58133
  Index      = 2.10719
  Normalizat = 0.998683
  Prefactor  = 1.18449
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.368     FROM HESSE     STATUS=OK            23 CALLS      250 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5813        4.8721        .30092E-04   -1.5235    
   2  Index         2.1072        .69389        .36607E-03   -.61696    
   3  Normalizat    .99868        .22282        .10706E-04   -.93075    
   4  Prefactor     1.1845        .22120        .49753E-04   -.86810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02094e-08
Minuit parameter uncertainties:
  1  4.8724
  2  0.697277
  3  0.223031
  4  0.221368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219350': 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) = 6080.36808381
delta logL = 0.16434566546

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  5.581e+00  4.872e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.107e+00  6.973e-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.184e+00  2.214e-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:  9.987e-01  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.74
Ra Dec: 141.005 28.276
Photon Index (Free Index): 2.11 +/- 0.70
Photon Flux (Free Index): 3.32e-08 +/- 4.26e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.78e-05

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/219350/cmap_HighResolution_418694401_418953601_4FGL_J0924.0+2816_daily_bin692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.11e-08', energy_flux2='1.79e-05', photon_flux_error='3.97e-08', dlogl='1.64e-01', energy_flux='1.47e-05', photon_flux2='3.32e-08', job_status='DONE', time_completed='2021-08-31 11:30:56.183348', photon_index_error2='0.70', photon_index2='2.11', ts='5.43', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='0.98', time_epoch_completed='1630434656.18', return_code='0', job_id='219350', GAL2='1.18', EG2='1.00', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='4.26e-08', ts2='5.74', photon_index='2.51' WHERE bin_id='692' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:30:56 PDT 2021


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

Job <4FGL_J0924.0+2816_daily_bin692> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:20:41 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:20:42 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:20:42 2021
Terminated at Tue Aug 31 11:30:57 2021
Results reported at Tue Aug 31 11:30:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin692 141.005 28.2755 418694401 418953601 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 :                                   586.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            616 sec.

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

