/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 14 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 = 7393
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1309
RA = 141.005, Dec = 28.2755
tmin = 578620801, tmax = 578880001
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='222369', job_status='RUN', time_executed='2021-08-31 11:28:24.165946', time_epoch_executed='1630434504.17' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1309'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222369

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222369/ft1_4FGL_J0924.0+2816_daily_bin1309.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222369/ft2_4FGL_J0924.0+2816_daily_bin1309.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222369/ft1_4FGL_J0924.0+2816_daily_bin1309.fits outfile=/scratch/kocevski/222369/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1309.fits ra=141.005 dec=28.2755 rad=12.0 tmin=578620801.0 tmax=578880001.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 4.07
user 3.31
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222369/ft1_filtered_4FGL_J0924.0+2816_daily_bin1309.fits" evtable="EVENTS" scfile=/scratch/kocevski/222369/ft2_4FGL_J0924.0+2816_daily_bin1309.fits sctable="SC_DATA" outfile=/scratch/kocevski/222369/ltcube_578620801_578880001_4FGL_J0924.0+2816_daily_bin1309.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/222369/ft2_4FGL_J0924.0+2816_daily_bin1309.fits
.....................!
real 20.19
user 18.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222369/ft1_filtered_4FGL_J0924.0+2816_daily_bin1309.fits evtable="EVENTS" scfile=/scratch/kocevski/222369/ft2_4FGL_J0924.0+2816_daily_bin1309.fits sctable="SC_DATA" expcube=/scratch/kocevski/222369/ltcube_578620801_578880001_4FGL_J0924.0+2816_daily_bin1309.fits outfile=/scratch/kocevski/222369/expmap_578620801_578880001_4FGL_J0924.0+2816_daily_bin1309.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/222369/ltcube_578620801_578880001_4FGL_J0924.0+2816_daily_bin1309.fits
.....................!
real 203.08
user 187.68
sys 3.95

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/222369/ft1_filtered_4FGL_J0924.0+2816_daily_bin1309.fits scfile=/scratch/kocevski/222369/ft2_4FGL_J0924.0+2816_daily_bin1309.fits outfile=/scratch/kocevski/222369/cmap_578620801_578880001_4FGL_J0924.0+2816_daily_bin1309.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.52
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71508       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19838E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.8162       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2318       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .18966E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0698       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.521       1.0000         .10000E-03   10000.    
    14 'Prefactor '    66.755       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.013       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.7648       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.519       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3118       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94357       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=   6204.254     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2098 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71501        .62700        .59120E-07    .35137E-03
   2  Prefactor     .10000E-03    6.4157        .44408E-07** at limit **
   3  Prefactor     .10000E-03    14.533       -.96699E-06** at limit **
   4  norm          .10000E-03    10.984        .74843E-06** at limit **
   5  Prefactor     6.8160        3.7614        .53546E-08   -.11415E-03
   6  Prefactor     .10000E-03    25.063        .51425E-06** at limit **
   7  norm          1.2318        1.4509        .10719E-06   -.20191E-03
   8  Prefactor     .10000E-03    11.762       -.13602E-05** at limit **
   9  Prefactor     .10000E-03    17.559       -.10636E-05** at limit **
  10  norm          .10000E-03    11.058       -.48561E-06** at limit **
  11  Prefactor     .10010E-03    5.1038        .23439E-05** at limit **
  12  Prefactor     8.0687        27.699       -.47945E-06   -.73514E-04
  13  Prefactor     23.519        50.677       -.99447E-06   -.58810E-04
  14  Prefactor     66.746        57.222       -.12447E-05   -.26034E-03
  15  Prefactor     11.013        8.2175        .18418E-05    .73161E-03
  16  Prefactor     9.7646        11.407        .18530E-06    .19442E-04
  17  Prefactor     .10000E-03    1.0537       -.37000E-07** at limit **
  18  norm          14.519        11.457       -.24284E-06   -.42392E-05
  19  Normalizat    1.3118        .19007       -.69049E-06   -.32875E-03
  20  Prefactor     .94360        .17842        .15684E-06   -.29072E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.715013
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.000100001
  Prefactor  = 6.81604
  Prefactor  = 0.000100001
  norm       = 1.23182
  Prefactor  = 0.000100004
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000100098
  Prefactor  = 8.06869
  Prefactor  = 23.5189
  Prefactor  = 66.7459
  Prefactor  = 11.0127
  Prefactor  = 9.76461
  Prefactor  = 0.0001
  norm       = 14.5187
  Normalizat = 1.31181
  Prefactor  = 0.943599
 **********
 **   18 **HESSE 
 **********

 FCN=   6204.254     FROM HESSE     STATUS=OK           293 CALLS     2391 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71501        .59971        .56579E-03   -1.5539    
   2  Prefactor     .10000E-03    6.4463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    103.69        .55403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    11.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.8160        3.7636        .10995E-03   -1.5186    
   6  Prefactor     .10000E-03    25.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2318        1.4194        .99561E-04   -1.5486    
   8  Prefactor     .10000E-03    12.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    11.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10010E-03    13.669        .21931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0687        27.687        .14114E-03   -1.5140    
  13  Prefactor     23.519        50.720        .82593E-04   -1.4738    
  14  Prefactor     66.746        58.024        .49123E-04   -1.4072    
  15  Prefactor     11.013        8.6655        .60363E-03   -1.5044    
  16  Prefactor     9.7646        11.420        .12824E-03   -1.5083    
  17  Prefactor     .10000E-03    1.0778        .78929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.519        11.457        .10512E-03   -1.4946    
  19  Normalizat    1.3118        .22016        .24115E-03   -.83215    
  20  Prefactor     .94360        .20876        .27069E-03   -.94634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67179e-09
Minuit parameter uncertainties:
  1  0.599712
  2  9.60043e-06
  3  0.00144082
  4  0.000247532
  5  3.76375
  6  0.000259471
  7  1.41945
  8  0.000466634
  9  0.000451316
  10  0.000141139
  11  0.00230962
  12  27.7307
  13  50.8128
  14  58.0733
  15  8.66647
  16  11.4226
  17  2.70284e-06
  18  11.4584
  19  0.220313
  20  0.208934
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.001e-04  2.310e-03  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.436e-01  2.089e-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.312e+00  2.203e-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: 9.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222369/likelihoodResults_578620801_578880001_4FGL_J0924.0+2816_daily_bin1309.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) = 6204.25453867
delta logL = -0.000347861599039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6204.25419548
delta logL = -4.66825622425e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10205E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3859       1.0000          .0000       10.000    
     3 'Normalizat'    1.3123       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94316       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6204.207     FROM MIGRAD    STATUS=CONVERGED    173 CALLS      356 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88014        3.2100        .26054E-03    .15840E-04
   2  Index         1.7448        1.2668        .18275E-01   -.18087E-03
   3  Normalizat    1.3139        .21311        .24099E-03    .12266E-04
   4  Prefactor     .93786        .20837        .27141E-03   -.31583E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.880139
  Index      = 1.7448
  Normalizat = 1.31389
  Prefactor  = 0.93786
 **********
 **   18 **HESSE 
 **********

 FCN=   6204.207     FROM HESSE     STATUS=OK            25 CALLS      381 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88014        3.2702        .10422E-04   -1.5520    
   2  Index         1.7448        1.2914        .36550E-02   -.70896    
   3  Normalizat    1.3139        .21329        .96395E-05   -.83153    
   4  Prefactor     .93786        .20854        .10857E-04   -.94830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08927e-11
Minuit parameter uncertainties:
  1  3.27082
  2  1.31772
  3  0.213434
  4  0.208719
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222369': 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) = 6204.20737604
delta logL = 0.0468147643405

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  8.801e-01  3.271e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  1.745e+00  1.318e+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.379e-01  2.087e-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.314e+00  2.134e-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/222369/cmap_HighResolution_578620801_578880001_4FGL_J0924.0+2816_daily_bin1309.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.13e-03', job_status='DONE', photon_flux_upper_limit='9.17e-08', time_completed='2021-08-31 11:38:43.427022', job_id='222369', GAL2='0.94', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1630435123.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.68e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1309' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:38:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 222369: <4FGL_J0924.0+2816_daily_bin1309> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1309> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 11:26:47 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:27:13 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:27:13 2021
Terminated at Tue Aug 31 11:38:44 2021
Results reported at Tue Aug 31 11:38:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1309 141.005 28.2755 578620801 578880001 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 :                                   593.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            717 sec.

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

