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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin9
RA = 141.005, Dec = 28.2755
tmin = 241660801, tmax = 241920001
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='214457', job_status='RUN', time_executed='2021-08-31 11:11:00.176060', time_epoch_executed='1630433460.18' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='9'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214457

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214457/ft1_4FGL_J0924.0+2816_daily_bin9.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214457/ft2_4FGL_J0924.0+2816_daily_bin9.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214457/ft1_4FGL_J0924.0+2816_daily_bin9.fits outfile=/scratch/kocevski/214457/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin9.fits ra=141.005 dec=28.2755 rad=12.0 tmin=241660801.0 tmax=241920001.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.92
user 1.29
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214457/ft2_4FGL_J0924.0+2816_daily_bin9.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/214457/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin9.fits evtable="EVENTS" outfile="/scratch/kocevski/214457/ft1_filtered_4FGL_J0924.0+2816_daily_bin9.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.66
user 0.30
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214457/ft1_filtered_4FGL_J0924.0+2816_daily_bin9.fits" evtable="EVENTS" scfile=/scratch/kocevski/214457/ft2_4FGL_J0924.0+2816_daily_bin9.fits sctable="SC_DATA" outfile=/scratch/kocevski/214457/ltcube_241660801_241920001_4FGL_J0924.0+2816_daily_bin9.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/214457/ft2_4FGL_J0924.0+2816_daily_bin9.fits
.....................!
real 12.68
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214457/ft1_filtered_4FGL_J0924.0+2816_daily_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/214457/ft2_4FGL_J0924.0+2816_daily_bin9.fits sctable="SC_DATA" expcube=/scratch/kocevski/214457/ltcube_241660801_241920001_4FGL_J0924.0+2816_daily_bin9.fits outfile=/scratch/kocevski/214457/expmap_241660801_241920001_4FGL_J0924.0+2816_daily_bin9.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/214457/ltcube_241660801_241920001_4FGL_J0924.0+2816_daily_bin9.fits
.....................!
real 190.70
user 185.30
sys 4.00

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/214457/ft1_filtered_4FGL_J0924.0+2816_daily_bin9.fits scfile=/scratch/kocevski/214457/ft2_4FGL_J0924.0+2816_daily_bin9.fits outfile=/scratch/kocevski/214457/cmap_241660801_241920001_4FGL_J0924.0+2816_daily_bin9.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.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214457/ft1_filtered_4FGL_J0924.0+2816_daily_bin9.fits scfile=/scratch/kocevski/214457/ft2_4FGL_J0924.0+2816_daily_bin9.fits outfile=/scratch/kocevski/214457/cmap_HighResolution_241660801_241920001_4FGL_J0924.0+2816_daily_bin9.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49732       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1408       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    35.431       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11411E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.427       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4600       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .49082E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .33838E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.4289       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.583       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96980       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3583       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=   7417.704     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     2036 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49775        .56566        .51322E-08   -.55697E-03
   2  Prefactor     6.1413        7.0985        .84739E-06    .68634E-04
   3  Prefactor     .10000E-03    5.2325        .17122E-06** at limit **
   4  norm          35.409        37.876       -.27440E-04    .32563E-04
   5  Prefactor     .10000E-03    1.3173       -.16382E-06** at limit **
   6  Prefactor     34.432        37.818        .68110E-05   -.81833E-04
   7  norm          1.4600        1.3932       -.96443E-07   -.12117E-03
   8  Prefactor     .10001E-03    41.427        .76044E-05** at limit **
   9  Prefactor     .10000E-03    20.753       -.12981E-04** at limit **
  10  norm          .10000E-03    2.6796       -.62357E-07** at limit **
  11  Prefactor     .10000E-03    2.2918       -.10425E-06** at limit **
  12  Prefactor     .10000E-03    35.307        .47445E-06** at limit **
  13  Prefactor     .10005E-03    168.90       -.15047E-03** at limit **
  14  Prefactor     .10000E-03    21.891        .13991E-04** at limit **
  15  Prefactor     .10000E-03    1.5752       -.39094E-08** at limit **
  16  Prefactor     8.4290        8.1036       -.24462E-06   -.43426E-04
  17  Prefactor     .10000E-03    1.1087       -.61223E-07** at limit **
  18  norm          11.582        8.3684       -.11333E-05   -.15194E-02
  19  Normalizat    .96989        .15868        .73320E-06    .48276E-03
  20  Prefactor     1.3581        .16575        .20319E-05    .44084E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.497754
  Prefactor  = 6.14133
  Prefactor  = 0.0001
  norm       = 35.4094
  Prefactor  = 0.0001
  Prefactor  = 34.4322
  norm       = 1.46001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100048
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.42895
  Prefactor  = 0.0001
  norm       = 11.5822
  Normalizat = 0.969887
  Prefactor  = 1.35814
 **********
 **   18 **HESSE 
 **********

 FCN=   7417.704     FROM HESSE     STATUS=OK           289 CALLS     2325 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49775        .53090        .66351E-03   -1.5567    
   2  Prefactor     6.1413        7.0849        .16201E-03   -1.5212    
   3  Prefactor     .10000E-03    5.2490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          35.409        38.012        .67326E-04   -1.4517    
   5  Prefactor     .10000E-03    2.5359        .19242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.432        37.619        .68298E-04   -1.4534    
   7  norm          1.4600        1.3792        .95978E-04   -1.5466    
   8  Prefactor     .10001E-03    42.637        .42333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.6906        .13766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.4873        .24858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    35.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10005E-03    169.89        .42677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5812        .10555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4290        8.1114        .13808E-03   -1.5127    
  17  Prefactor     .10000E-03    1.1446        .17697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.582        8.3933        .58855E-03   -1.5027    
  19  Normalizat    .96989        .18410        .26015E-03   -.94046    
  20  Prefactor     1.3581        .19449        .23568E-03   -.81594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42881e-09
Minuit parameter uncertainties:
  1  0.53091
  2  7.08584
  3  6.56722e-06
  4  38.0384
  5  2.70211e-05
  6  37.645
  7  1.3792
  8  0.00128864
  9  0.000103596
  10  1.56197e-05
  11  2.9612e-06
  12  7.96497e-05
  13  0.0057513
  14  4.51431e-06
  15  1.20589e-08
  16  8.11247
  17  5.75176e-06
  18  8.39414
  19  0.184225
  20  0.194596
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  2.961e-06  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.358e+00  1.946e-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.699e-01  1.842e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214457/likelihoodResults_241660801_241920001_4FGL_J0924.0+2816_daily_bin9.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) = 7417.70503866
delta logL = -0.00106048272755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7417.70397815
delta logL = 3.23589119944e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7417.704     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      229 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .24185        .41059E-01** at limit **
   2  Index         2.5245        6.2106        .50000       -.17639E-04
   3  Normalizat    .96989        .13571E-02    .45788E-01    .50643E-04
   4  Prefactor     1.3581        .14306E-02    .53306E-01   -.61204E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.5245
  Normalizat = 0.969886
  Prefactor  = 1.35814
 **********
 **   18 **HESSE 
 **********

 FCN=   7417.704     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      264 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.542        .24809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5245        7.4282        .50000       -.51795    
   3  Normalizat    .96989        .14318E-01    .26015E-03   -.94046    
   4  Prefactor     1.3581        .15096E-01    .23568E-03   -.81594    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80587e-06
Minuit parameter uncertainties:
  1  0.000288726
  2  323.137
  3  0.0143177
  4  0.0150957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214457': 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) = 7417.7039781
delta logL = 8.10523488326e-08

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  2.887e-04  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.525e+00  3.231e+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.358e+00  1.510e-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:  9.699e-01  1.432e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/214457/cmap_HighResolution_241660801_241920001_4FGL_J0924.0+2816_daily_bin9.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-03', job_status='DONE', photon_flux_upper_limit='7.51e-08', time_completed='2021-08-31 11:21:26.654233', job_id='214457', GAL2='1.36', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1630434086.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='8.11e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='9' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:21:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 214457: <4FGL_J0924.0+2816_daily_bin9> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin9 141.005 28.2755 241660801 241920001 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 :                                   617.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             230.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            914 sec.

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

