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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin471
RA = 141.005, Dec = 28.2755
tmin = 361411201, tmax = 361670401
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='217729', job_status='RUN', time_executed='2021-08-31 11:16:33.846453', time_epoch_executed='1630433793.85' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='471'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217729/ft1_4FGL_J0924.0+2816_daily_bin471.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217729/ft2_4FGL_J0924.0+2816_daily_bin471.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217729/ft1_4FGL_J0924.0+2816_daily_bin471.fits outfile=/scratch/kocevski/217729/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin471.fits ra=141.005 dec=28.2755 rad=12.0 tmin=361411201.0 tmax=361670401.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.69
user 3.32
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217729/ft1_filtered_4FGL_J0924.0+2816_daily_bin471.fits evtable="EVENTS" scfile=/scratch/kocevski/217729/ft2_4FGL_J0924.0+2816_daily_bin471.fits sctable="SC_DATA" expcube=/scratch/kocevski/217729/ltcube_361411201_361670401_4FGL_J0924.0+2816_daily_bin471.fits outfile=/scratch/kocevski/217729/expmap_361411201_361670401_4FGL_J0924.0+2816_daily_bin471.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/217729/ltcube_361411201_361670401_4FGL_J0924.0+2816_daily_bin471.fits
.....................!
real 193.66
user 184.58
sys 4.36

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/217729/ft1_filtered_4FGL_J0924.0+2816_daily_bin471.fits scfile=/scratch/kocevski/217729/ft2_4FGL_J0924.0+2816_daily_bin471.fits outfile=/scratch/kocevski/217729/cmap_361411201_361670401_4FGL_J0924.0+2816_daily_bin471.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217729/ft1_filtered_4FGL_J0924.0+2816_daily_bin471.fits scfile=/scratch/kocevski/217729/ft2_4FGL_J0924.0+2816_daily_bin471.fits outfile=/scratch/kocevski/217729/cmap_HighResolution_361411201_361670401_4FGL_J0924.0+2816_daily_bin471.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1953       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.140       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6182       1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2617       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11526E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .56022       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.487       1.0000         .10000E-03   10000.    
    10 'norm      '    22.326       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.3051       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0679       1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.675       1.0000         .10000E-03   10000.    
    14 'Prefactor '    64.011       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .45532E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1284       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .64294       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4130       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=   6680.633     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2175 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1951        1.4019       -.54272E-07    .64243E-04
   2  Prefactor     14.139        13.540        .11193E-05   -.20885E-04
   3  Prefactor     4.6148        11.915        .77649E-06   -.90373E-04
   4  norm          .10000E-03    29.719        .16793E-05** at limit **
   5  Prefactor     1.2612        2.4550       -.41677E-06   -.83403E-03
   6  Prefactor     .10000E-03    86.213        .28400E-06** at limit **
   7  norm          .55990        1.3817       -.44136E-06   -.15715E-02
   8  Prefactor     .10000E-03    28.921       -.98017E-06** at limit **
   9  Prefactor     18.480        39.044        .14277E-05   -.33841E-05
  10  norm          22.319        10.491        .20161E-06    .69345E-05
  11  Prefactor     7.3043        4.3930       -.14721E-06   -.15433E-03
  12  Prefactor     5.0603        24.623        .92342E-05   -.25733E-04
  13  Prefactor     43.671        45.996       -.26616E-05    .31043E-06
  14  Prefactor     63.998        58.266       -.96696E-05   -.41451E-06
  15  Prefactor     .10000E-03    2.0609       -.80402E-07** at limit **
  16  Prefactor     .72933E-02    5.3158        .31353E-07   -.40717E-04
  17  Prefactor     2.1283        2.2476       -.22325E-06   -.58374E-03
  18  norm          .10000E-03    2.0527       -.30249E-07** at limit **
  19  Normalizat    .64317        .17535       -.66121E-06    .52213E-05
  20  Prefactor     1.4129        .17452        .42320E-06   -.22853E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.19514
  Prefactor  = 14.1389
  Prefactor  = 4.6148
  norm       = 0.0001
  Prefactor  = 1.26122
  Prefactor  = 0.0001
  norm       = 0.559902
  Prefactor  = 0.0001
  Prefactor  = 18.4795
  norm       = 22.3186
  Prefactor  = 7.30434
  Prefactor  = 5.06028
  Prefactor  = 43.6708
  Prefactor  = 63.9981
  Prefactor  = 0.0001
  Prefactor  = 0.00729333
  Prefactor  = 2.1283
  norm       = 0.0001
  Normalizat = 0.643169
  Prefactor  = 1.41288
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.633     FROM HESSE     STATUS=OK           307 CALLS     2482 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1951        1.4033        .37823E-04   -1.5135    
   2  Prefactor     14.139        13.519        .10652E-03   -1.4956    
   3  Prefactor     4.6148        11.882        .18729E-03   -1.5278    
   4  norm          .10000E-03    29.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2612        2.4455        .17494E-03   -1.5483    
   6  Prefactor     .10000E-03    87.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55990        1.3405        .14698E-02   -1.5558    
   8  Prefactor     .10000E-03    29.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.480        39.031        .93152E-04   -1.4848    
  10  norm          22.319        10.527        .84772E-04   -1.4763    
  11  Prefactor     7.3043        4.3454        .12242E-03   -1.5167    
  12  Prefactor     5.0603        23.762        .17861E-03   -1.5258    
  13  Prefactor     43.671        45.978        .60663E-04   -1.4385    
  14  Prefactor     63.998        57.731        .50158E-04   -1.4106    
  15  Prefactor     .10000E-03    2.0713        .11456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .72933E-02    10.082        .59343E-01   -1.5691    
  17  Prefactor     2.1283        2.2474        .12034E-03   -1.5416    
  18  norm          .10000E-03    2.0540        .11437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .64317        .20321        .30669E-03   -1.0618    
  20  Prefactor     1.4129        .20340        .23057E-03   -.80010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02761e-09
Minuit parameter uncertainties:
  1  1.40327
  2  13.5222
  3  11.8877
  4  2.12549e-05
  5  2.44573
  6  1.05644e-05
  7  1.34058
  8  2.06476e-05
  9  39.0853
  10  10.5282
  11  4.34563
  12  21.945
  13  46.0158
  14  57.7811
  15  1.62538e-07
  16  0.538699
  17  2.24745
  18  4.75273e-07
  19  0.203445
  20  0.203511
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  7.304e+00  4.346e+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.413e+00  2.035e-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:  6.432e-01  2.034e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.63
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 7.05e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.21e-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) = 6680.62469315
delta logL = 0.0082635204908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6680.61931873
delta logL = 0.0136379395672

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8328       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4216       1.0000          .0000       10.000    
     3 'Normalizat'    .64768       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4093       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=   6680.619     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      241 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8322        5.6425        .12754E-03    .18335E-02
   2  Index         2.4218        .51253        .63321E-02    .36043E-03
   3  Normalizat    .64767        .18856        .30569E-03   -.22887E-03
   4  Prefactor     1.4093        .20036        .23080E-03   -.37504E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.83225
  Index      = 2.42176
  Normalizat = 0.647666
  Prefactor  = 1.40929
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.619     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8322        5.4743        .51015E-05   -1.5148    
   2  Index         2.4218        .49693        .25328E-03   -.54176    
   3  Normalizat    .64767        .18860        .12228E-04   -1.0600    
   4  Prefactor     1.4093        .20039        .46161E-04   -.80113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62512e-09
Minuit parameter uncertainties:
  1  5.47462
  2  0.498054
  3  0.188793
  4  0.200497
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217729': 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) = 6680.61931865
delta logL = 0.0136380175309

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  7.832e+00  5.475e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.422e+00  4.981e-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.409e+00  2.005e-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:  6.477e-01  1.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.60
Ra Dec: 141.005 28.276
Photon Index (Free Index): 2.42 +/- 0.50
Photon Flux (Free Index): 6.77e-08 +/- 4.36e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.50e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/217729/cmap_HighResolution_361411201_361670401_4FGL_J0924.0+2816_daily_bin471.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.05e-08', energy_flux2='2.16e-05', photon_flux_error='4.19e-08', dlogl='1.36e-02', energy_flux='2.03e-05', photon_flux2='6.77e-08', job_status='DONE', time_completed='2021-08-31 11:26:07.142097', photon_index_error2='0.50', photon_index2='2.42', ts='4.63', fit_tolerance='1e-08', GAL='1.41', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='0.64', time_epoch_completed='1630434367.14', return_code='0', job_id='217729', GAL2='1.41', EG2='0.65', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='4.36e-08', ts2='4.60', photon_index='2.51' WHERE bin_id='471' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:26:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 217729: <4FGL_J0924.0+2816_daily_bin471> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin471> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 11:16:15 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:16:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:16:16 2021
Terminated at Tue Aug 31 11:26:07 2021
Results reported at Tue Aug 31 11:26:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin471 141.005 28.2755 361411201 361670401 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 :                                   559.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            592 sec.

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

