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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1251
RA = 141.005, Dec = 28.2755
tmin = 563587201, tmax = 563846401
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='222281', job_status='RUN', time_executed='2021-08-31 11:27:18.228890', time_epoch_executed='1630434438.23' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1251'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222281

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222281/ft1_4FGL_J0924.0+2816_daily_bin1251.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222281/ft2_4FGL_J0924.0+2816_daily_bin1251.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222281/ft1_4FGL_J0924.0+2816_daily_bin1251.fits outfile=/scratch/kocevski/222281/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1251.fits ra=141.005 dec=28.2755 rad=12.0 tmin=563587201.0 tmax=563846401.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.75
user 2.55
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222281/ft1_filtered_4FGL_J0924.0+2816_daily_bin1251.fits" evtable="EVENTS" scfile=/scratch/kocevski/222281/ft2_4FGL_J0924.0+2816_daily_bin1251.fits sctable="SC_DATA" outfile=/scratch/kocevski/222281/ltcube_563587201_563846401_4FGL_J0924.0+2816_daily_bin1251.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/222281/ft2_4FGL_J0924.0+2816_daily_bin1251.fits
.....................!
real 12.21
user 11.69
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222281/ft1_filtered_4FGL_J0924.0+2816_daily_bin1251.fits evtable="EVENTS" scfile=/scratch/kocevski/222281/ft2_4FGL_J0924.0+2816_daily_bin1251.fits sctable="SC_DATA" expcube=/scratch/kocevski/222281/ltcube_563587201_563846401_4FGL_J0924.0+2816_daily_bin1251.fits outfile=/scratch/kocevski/222281/expmap_563587201_563846401_4FGL_J0924.0+2816_daily_bin1251.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/222281/ltcube_563587201_563846401_4FGL_J0924.0+2816_daily_bin1251.fits
.....................!
real 190.71
user 185.39
sys 3.85

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/222281/ft1_filtered_4FGL_J0924.0+2816_daily_bin1251.fits scfile=/scratch/kocevski/222281/ft2_4FGL_J0924.0+2816_daily_bin1251.fits outfile=/scratch/kocevski/222281/cmap_563587201_563846401_4FGL_J0924.0+2816_daily_bin1251.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 3.04
user 0.39
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86533       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.871       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.357       1.0000         .10000E-03   10000.    
     4 'norm      '    3.9995       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .74837       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3756       1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.585       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.241       1.0000         .10000E-03   10000.    
    10 'norm      '    .27999       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .67959       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45337E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0160       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2985       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19012       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3004       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0583       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89719       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=   7656.238     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2147 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86546        .51104       -.21996E-07    .22139E-03
   2  Prefactor     12.871        8.7584       -.20494E-06    .49256E-04
   3  Prefactor     11.357        12.730       -.32985E-06    .17455E-05
   4  norm          4.0510        48.753       -.14998E-05   -.20170E-05
   5  Prefactor     .74907        1.9252       -.12152E-06   -.10724E-03
   6  Prefactor     2.3901        116.06       -.67466E-05   -.26916E-04
   7  norm          .10000E-03    .38134        .31622E-07** at limit **
   8  Prefactor     29.566        19.980        .30495E-05   -.11110E-03
   9  Prefactor     33.256        27.438       -.28101E-06    .22311E-04
  10  norm          .28783        19.590       -.58330E-05   -.24584E-03
  11  Prefactor     .67907        1.7638        .69677E-06    .21406E-03
  12  Prefactor     .10001E-03    16.238       -.17971E-05** at limit **
  13  Prefactor     .10000E-03    8.3359        .51368E-07** at limit **
  14  Prefactor     .10000E-03    7.8639        .38591E-07** at limit **
  15  Prefactor     2.0156        4.0824       -.38899E-06    .94601E-04
  16  Prefactor     1.3008        8.3380        .36047E-05   -.36498E-03
  17  Prefactor     .18770        .95520        .23007E-06    .16072E-03
  18  norm          3.3009        4.8946       -.17629E-06   -.87980E-05
  19  Normalizat    1.0582        .14739       -.41171E-07    .62805E-04
  20  Prefactor     .89719        .14187       -.24723E-06    .14802E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.865459
  Prefactor  = 12.8707
  Prefactor  = 11.3567
  norm       = 4.05098
  Prefactor  = 0.749067
  Prefactor  = 2.39005
  norm       = 0.0001
  Prefactor  = 29.5656
  Prefactor  = 33.2562
  norm       = 0.287834
  Prefactor  = 0.679073
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.01563
  Prefactor  = 1.30078
  Prefactor  = 0.1877
  norm       = 3.30085
  Normalizat = 1.05817
  Prefactor  = 0.89719
 **********
 **   18 **HESSE 
 **********

 FCN=   7656.238     FROM HESSE     STATUS=OK           313 CALLS     2460 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86546        .50673        .46142E-04   -1.5522    
   2  Prefactor     12.871        8.7440        .11165E-03   -1.4990    
   3  Prefactor     11.357        12.759        .11888E-03   -1.5034    
   4  norm          4.0510        48.663        .20166E-03   -1.5305    
   5  Prefactor     .74907        1.9257        .18734E-03   -1.5535    
   6  Prefactor     2.3901        114.61        .26581E-03   -1.5399    
   7  norm          .10000E-03    .51217        .10501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.566        20.809        .73660E-04   -1.4620    
   9  Prefactor     33.256        27.435        .69502E-04   -1.4554    
  10  norm          .28783        43.017        .37917E-02   -1.5601    
  11  Prefactor     .67907        1.6123        .18007E-02   -1.5543    
  12  Prefactor     .10001E-03    176.02        .63589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.3363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.8650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.0156        4.0406        .23860E-03   -1.5424    
  16  Prefactor     1.3008        13.956        .19397E-02   -1.5480    
  17  Prefactor     .18770        4.3821        .15685E-02   -1.5621    
  18  norm          3.3009        4.8810        .22285E-03   -1.5345    
  19  Normalizat    1.0582        .16781        .22045E-03   -.91107    
  20  Prefactor     .89719        .16300        .24202E-03   -.96239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46918e-09
Minuit parameter uncertainties:
  1  0.50673
  2  8.74487
  3  12.7621
  4  28.109
  5  1.92588
  6  33.1681
  7  6.41987e-06
  8  20.8136
  9  27.445
  10  7.04151
  11  1.61242
  12  0.00284173
  13  1.3611e-06
  14  2.35751e-06
  15  4.04117
  16  8.52357
  17  1.81352
  18  4.88158
  19  0.167896
  20  0.163085
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  6.791e-01  1.612e+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:  8.972e-01  1.631e-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.058e+00  1.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 5.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222281/likelihoodResults_563587201_563846401_4FGL_J0924.0+2816_daily_bin1251.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): 0
logL (Free Index) = 7656.2005861
delta logL = 0.0371840279913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7656.19524703
delta logL = 0.0425231050831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85336       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0832       1.0000          .0000       10.000    
     3 'Normalizat'    1.0610       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89501       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=   7656.195     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      224 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85412        30.123        .39647E-01    .11634E-02
   2  Index         2.0838        2.6748        .48274       -.70914E-05
   3  Normalizat    1.0610        .17002E-01    .39876E-01    .60516E-05
   4  Prefactor     .89500        .17390E-01    .44941E-01    .13939E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.854123
  Index      = 2.08379
  Normalizat = 1.06096
  Prefactor  = 0.895004
 **********
 **   18 **HESSE 
 **********

 FCN=   7656.195     FROM HESSE     STATUS=OK            35 CALLS      259 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85412        1.8105        .19982E-02   -1.5523    
   2  Index         2.0838        1.2776        .13079E-01   -.62271    
   3  Normalizat    1.0610        .15706        .22018E-03   -.91015    
   4  Prefactor     .89500        .16071        .24226E-03   -.96316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40368e-09
Minuit parameter uncertainties:
  1  1.81057
  2  1.29965
  3  0.157124
  4  0.160791
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222281': 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) = 7656.19524684
delta logL = 0.0425232952721

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  8.541e-01  1.811e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.084e+00  1.300e+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:  8.950e-01  1.608e-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.061e+00  1.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
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/222281/cmap_HighResolution_563587201_563846401_4FGL_J0924.0+2816_daily_bin1251.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-03', job_status='DONE', photon_flux_upper_limit='5.62e-08', time_completed='2021-08-31 11:38:24.857681', job_id='222281', GAL2='0.90', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630435104.86', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.25e-02', ts2='0.33', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1251' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:38:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 222281: <4FGL_J0924.0+2816_daily_bin1251> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1251 141.005 28.2755 563587201 563846401 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 :                                   648.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            703 sec.

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

