/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 33 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 = 7554
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin211
RA = 141.005, Dec = 28.2755
tmin = 294019201, tmax = 294278401
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='216013', job_status='RUN', time_executed='2021-08-31 11:12:23.671034', time_epoch_executed='1630433543.67' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216013

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216013/ft1_4FGL_J0924.0+2816_daily_bin211.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216013/ft2_4FGL_J0924.0+2816_daily_bin211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216013/ft1_4FGL_J0924.0+2816_daily_bin211.fits outfile=/scratch/kocevski/216013/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin211.fits ra=141.005 dec=28.2755 rad=12.0 tmin=294019201.0 tmax=294278401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.88
user 2.95
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216013/ft1_filtered_4FGL_J0924.0+2816_daily_bin211.fits evtable="EVENTS" scfile=/scratch/kocevski/216013/ft2_4FGL_J0924.0+2816_daily_bin211.fits sctable="SC_DATA" expcube=/scratch/kocevski/216013/ltcube_294019201_294278401_4FGL_J0924.0+2816_daily_bin211.fits outfile=/scratch/kocevski/216013/expmap_294019201_294278401_4FGL_J0924.0+2816_daily_bin211.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/216013/ltcube_294019201_294278401_4FGL_J0924.0+2816_daily_bin211.fits
.....................!
real 195.69
user 190.35
sys 4.07

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/216013/ft1_filtered_4FGL_J0924.0+2816_daily_bin211.fits scfile=/scratch/kocevski/216013/ft2_4FGL_J0924.0+2816_daily_bin211.fits outfile=/scratch/kocevski/216013/cmap_294019201_294278401_4FGL_J0924.0+2816_daily_bin211.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 1.03
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216013/ft1_filtered_4FGL_J0924.0+2816_daily_bin211.fits scfile=/scratch/kocevski/216013/ft2_4FGL_J0924.0+2816_daily_bin211.fits outfile=/scratch/kocevski/216013/cmap_HighResolution_294019201_294278401_4FGL_J0924.0+2816_daily_bin211.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 2.35
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2985       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.563       1.0000         .10000E-03   10000.    
     4 'norm      '    41.453       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5666       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .54580       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    64.969       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19947E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.4628       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.531       1.0000         .10000E-03   10000.    
    15 'Prefactor '    61.364       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3812       1.0000         .10000E-03   10000.    
    18 'norm      '    24.680       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .72712       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0500       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=   6582.448     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2098 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2985        .71742       -.47030E-07   -.11542E-03
   2  Prefactor     .10000E-03    7.7933       -.12503E-06** at limit **
   3  Prefactor     23.560        16.195       -.91474E-06   -.50589E-04
   4  norm          41.451        36.453       -.14061E-05   -.13928E-05
   5  Prefactor     1.5664        2.1219       -.29373E-06   -.46299E-03
   6  Prefactor     .10000E-03    34.981        .34184E-05** at limit **
   7  norm          .54592        1.1458       -.34559E-06   -.19315E-02
   8  Prefactor     .10000E-03    6.4424        .10522E-06** at limit **
   9  Prefactor     64.955        71.892       -.16816E-04   -.16151E-04
  10  norm          .10000E-03    2.0262        .96537E-08** at limit **
  11  Prefactor     .10000E-03    1.5921        .85801E-06** at limit **
  12  Prefactor     7.4397        21.288       -.29361E-04   -.56892E-04
  13  Prefactor     .10000E-03    19.200       -.14888E-05** at limit **
  14  Prefactor     42.530        57.724       -.14996E-05    .65144E-05
  15  Prefactor     61.366        11.078        .66336E-06    .38941E-04
  16  Prefactor     .10000E-03    2.5307        .30401E-07** at limit **
  17  Prefactor     1.3815        1.3383       -.14376E-07   -.15158E-04
  18  norm          24.679        11.247       -.39369E-06   -.29533E-05
  19  Normalizat    .72697        .16085        .29279E-05   -.18028E-03
  20  Prefactor     1.0501        .15855        .13003E-05   -.10722E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29846
  Prefactor  = 0.0001
  Prefactor  = 23.5603
  norm       = 41.4511
  Prefactor  = 1.56645
  Prefactor  = 0.0001
  norm       = 0.545924
  Prefactor  = 0.0001
  Prefactor  = 64.9545
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.43972
  Prefactor  = 0.0001
  Prefactor  = 42.5305
  Prefactor  = 61.3657
  Prefactor  = 0.0001
  Prefactor  = 1.38152
  norm       = 24.6795
  Normalizat = 0.726966
  Prefactor  = 1.05011
 **********
 **   18 **HESSE 
 **********

 FCN=   6582.448     FROM HESSE     STATUS=OK           295 CALLS     2393 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2985        .71264        .49054E-04   -1.5480    
   2  Prefactor     .10000E-03    7.8296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.560        16.185        .82520E-04   -1.4737    
   4  norm          41.451        36.452        .62261E-04   -1.4419    
   5  Prefactor     1.5664        2.0952        .13348E-03   -1.5458    
   6  Prefactor     .10000E-03    35.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .54592        .91708        .12179E-02   -1.5560    
   8  Prefactor     .10000E-03    6.4557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     64.955        71.840        .49789E-04   -1.4094    
  10  norm          .10000E-03    2.0290        .11278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.9390        .19441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.4397        21.291        .14681E-03   -1.5162    
  13  Prefactor     .10000E-03    19.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     42.530        57.761        .61470E-04   -1.4403    
  15  Prefactor     61.366        11.079        .51222E-04   -1.4140    
  16  Prefactor     .10000E-03    2.5353        .12604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.3815        1.3222        .89698E-04   -1.5473    
  18  norm          24.679        11.245        .80634E-04   -1.4714    
  19  Normalizat    .72697        .18355        .27222E-03   -1.0284    
  20  Prefactor     1.0501        .18291        .23275E-03   -.91077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3702e-10
Minuit parameter uncertainties:
  1  0.712646
  2  9.08361e-07
  3  16.1883
  4  36.4714
  5  2.09535
  6  9.62414e-05
  7  0.917101
  8  1.46166e-05
  9  71.9365
  10  5.03328e-06
  11  0.000122572
  12  21.3127
  13  1.9013e-06
  14  57.8368
  15  11.079
  16  4.62436e-06
  17  1.32222
  18  11.246
  19  0.183708
  20  0.183015
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.226e-04  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.050e+00  1.830e-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:  7.270e-01  1.837e-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: 7.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/216013/likelihoodResults_294019201_294278401_4FGL_J0924.0+2816_daily_bin211.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) = 6582.44878993
delta logL = -0.000479682613332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6582.4483114
delta logL = -1.15461534733e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12719E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5580       1.0000          .0000       10.000    
     3 'Normalizat'    .72713       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0500       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6582.448     FROM MIGRAD    STATUS=FAILED       104 CALLS      278 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10451E-03    58.485        .18343E-02** at limit **
   2  Index         2.7157        7.2870        .50000       -.11544E-04
   3  Normalizat    .72697        .80423E-02    .27222E-03    .12404E-04
   4  Prefactor     1.0501        .81861E-02    .23275E-03    .16754E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6582.448     FROM SIMPLEX   STATUS=UNCHANGED    115 CALLS      393 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10451E-03    58.485        .69668E-03** at limit **
   2  Index         2.7157        7.2870        .34689E-03   -.11544E-04
   3  Normalizat    .72697        .80423E-02    .10885E-05    .12404E-04
   4  Prefactor     1.0501        .81861E-02    .96240E-06    .16754E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6582.448     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      426 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10064E-03    301.45        .36686E-03** at limit **
   2  Index         2.6972        5.9313        .50000       -.15229E-04
   3  Normalizat    .72697        .18639E-01    .10889E-04   -.96055E-05
   4  Prefactor     1.0501        .18973E-01    .93098E-05   -.36635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100638
  Index      = 2.69716
  Normalizat = 0.726967
  Prefactor  = 1.05011
 **********
 **   18 **HESSE 
 **********

 FCN=   6582.448     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      455 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10064E-03    1777.9        .73372E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6972        8.5986        .50000       -.47864    
   3  Normalizat    .72697        .55781E-01    .21777E-05   -1.0284    
   4  Prefactor     1.0501        .56750E-01    .18620E-05   -.91077    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.21616e-08
Minuit parameter uncertainties:
  1  0.0695459
  2  631.358
  3  0.055785
  4  0.0567535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216013': 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) = 6582.44830878
delta logL = 1.46686488733e-06

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.006e-04  6.955e-02  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.697e+00  6.314e+02  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.050e+00  5.675e-02  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:  7.270e-01  5.579e-02  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/216013/cmap_HighResolution_294019201_294278401_4FGL_J0924.0+2816_daily_bin211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', job_status='DONE', photon_flux_upper_limit='7.12e-08', time_completed='2021-08-31 11:22:52.739803', job_id='216013', GAL2='1.05', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1630434172.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.47e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='211' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:22:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 216013: <4FGL_J0924.0+2816_daily_bin211> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin211> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:10:57 2021
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:10:58 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:10:58 2021
Terminated at Tue Aug 31 11:22:53 2021
Results reported at Tue Aug 31 11:22:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin211 141.005 28.2755 294019201 294278401 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 :                                   611.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            716 sec.

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

