aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 205 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7174
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin1750
RA = 220.242, Dec = 6.1631
tmin = 692928001, tmax = 693187201
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='16158', job_status='RUN', time_executed='2022-12-20 01:08:51.818050', time_epoch_executed='1671527331.82' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16158

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16158/ft1_4FGL_J1440.9+0609_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16158/ft1_4FGL_J1440.9+0609_daily_bin1750.fits outfile=/scratch/kocevski/16158/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin1750.fits ra=220.242 dec=6.1631 rad=12.0 tmin=692928001.0 tmax=693187201.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.48
user 3.24
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.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/16158/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/16158/ltcube_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.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/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits
.....................!
real 11.92
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/16158/ltcube_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.fits outfile=/scratch/kocevski/16158/expmap_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.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/16158/ltcube_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.fits
.....................!
real 190.29
user 185.08
sys 4.87

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 150 point sources and 0 extended sources

Setting source of interest to:
4FGL J1440.9+0609 @ 220.242 6.1631

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.fits scfile=/scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits outfile=/scratch/kocevski/16158/cmap_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.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=220.242 yref=6.1631 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.fits scfile=/scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits outfile=/scratch/kocevski/16158/cmap_HighResolution_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.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=220.242 yref=6.1631 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/16158/Model_4FGL_J1440.9+0609_daily_bin1750.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/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.fits....................!
real 51.46
user 50.19
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.fits', '/scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits', expMap='/scratch/kocevski/16158/expmap_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.fits', expCube='/scratch/kocevski/16158/ltcube_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/16158/Model_4FGL_J1440.9+0609_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1440.9+0609'

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  8.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
227        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/16158/ft1_filtered_4FGL_J1440.9+0609_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/16158/ft2_4FGL_J1440.9+0609_daily_bin1750.fits
Exposure map: /scratch/kocevski/16158/expmap_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.fits
Exposure cube: /scratch/kocevski/16158/ltcube_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/16158/Model_4FGL_J1440.9+0609_daily_bin1750.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) = 6725.14170798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29781E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15069E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.948       1.0000          .0000       .10000E+07
     4 'norm      '    6.9683       1.0000          .0000       .10000E+07
     5 'norm      '    .47155E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.150       1.0000          .0000       .10000E+07
     7 'Prefactor '    .85184E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    23.609       1.0000          .0000       .10000E+07
     9 'norm      '    5.0319       1.0000          .0000       .10000E+07
    10 'Prefactor '    .68875E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .99352E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    17.768       1.0000          .0000       .10000E+07
    13 'norm      '    .30779       1.0000          .0000       .10000E+07
    14 'norm      '    6.6348       1.0000          .0000       .10000E+07
    15 'norm      '    .80215       1.0000          .0000       .10000E+07
    16 'norm      '    .18814E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3563       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87311       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6725.071     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1026 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51625E-08    5.3488       -.62896E-07** at limit **
   2  Prefactor     .33862E-07    5.8651        .51349E-08** at limit **
   3  Prefactor     37.194        12.338        .42443E-07    .15385    
   4  norm          6.9662        7.2762        .26469E-08    .21585E-03
   5  norm          .85548E-06    30.096        .28808E-06** at limit **
   6  Prefactor     12.187        8.7546        .44794E-07   -.75692E-04
   7  Prefactor     .39391E-06    10.679        .61107E-07** at limit **
   8  Prefactor     24.064        3.4304       -.38728E-08    .51284E-01
   9  norm          4.9275        10.459       -.17275E-07    .46872E-01
  10  Prefactor     .34417E-08    7.1115       -.38359E-07** at limit **
  11  Prefactor     .66336E-06    15.323       -.92161E-07** at limit **
  12  Prefactor     18.335        5.1163        .25932E-08    .28470E-01
  13  norm          .30766        .17262        .48229E-08    .83479E-02
  14  norm          6.6353        3.0520       -.45954E-07   -.11216E-01
  15  norm          .81691        .55586       -.50009E-09    .34672E-03
  16  norm          .18319E-08    9.7075        .14785E-07** at limit **
  17  Normalizat    1.3566        .25382        .22665E-05   -.25039E-03
  18  Prefactor     .87289        .15259       -.28252E-05   -.57257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.16254e-09
  Prefactor  = 3.38618e-08
  Prefactor  = 37.1944
  norm       = 6.96622
  norm       = 8.55482e-07
  Prefactor  = 12.187
  Prefactor  = 3.93907e-07
  Prefactor  = 24.0637
  norm       = 4.92752
  Prefactor  = 3.44169e-09
  Prefactor  = 6.63358e-07
  Prefactor  = 18.3348
  norm       = 0.307657
  norm       = 6.63534
  norm       = 0.81691
  norm       = 1.83187e-09
  Normalizat = 1.35656
  Prefactor  = 0.872885
 **********
 **   18 **HESSE 
 **********

 FCN=   6725.071     FROM HESSE     STATUS=OK           286 CALLS     1312 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51625E-08    5.3612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33862E-07    16.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.194        29.796        .16235E-03   -1.5586    
   4  norm          6.9662        7.2770        .37981E-03   -1.5655    
   5  norm          .85548E-06    31.943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.187        8.8424        .28713E-03   -1.5638    
   7  Prefactor     .39391E-06    15.302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.064        23.803        .20586E-03   -1.5610    
   9  norm          4.9275        11.944        .44804E-03   -1.5664    
  10  Prefactor     .34417E-08    7.1089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .66336E-06    17.830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.335        24.269        .23733E-03   -1.5622    
  13  norm          .30766        .17418        .55119E-03   -1.5697    
  14  norm          6.6353        3.0736        .38934E-03   -1.5656    
  15  norm          .81691        14.668        .52775E-03   -1.5690    
  16  norm          .18319E-08    2.3129        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3566        .21457        .64121E-01   -.81894    
  18  Prefactor     .87289        .12890        .44661E-01   -.97095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73696e-07
Minuit parameter uncertainties:
  1  0.000332149
  2  0.00147858
  3  29.7964
  4  7.27703
  5  0.010455
  6  8.84237
  7  0.00491035
  8  23.8035
  9  11.9438
  10  0.000313446
  11  0.00687841
  12  24.2692
  13  0.174179
  14  3.07358
  15  6.92313
  16  0.000130084
  17  0.214715
  18  0.128948
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.406e+01  2.380e+01  0.000e+00  1.000e+06 ( 1.000e-14)
227        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  8.729e-01  1.289e-01  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  1.357e+00  2.147e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.21
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.55e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 1.32e-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) = 6724.71982912
delta logL = 0.351023088348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6724.71940585
delta logL = 0.351446356484

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.998       1.0000          .0000       .10000E+07
     2 'Index     '    1.5468       1.0000          .0000       10.000    
     3 'Normalizat'    1.3708       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86923       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+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=   6724.719     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      310 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.929        36.265        .65769E-05    .21123E-03
   2  Index         1.5451        .66794        .11999E-01   -.93104E-05
   3  Normalizat    1.3708        .24779        .28238E-03    .86157E-05
   4  Prefactor     .86922        .15202        .21076E-03    .12784E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.9287
  Index      = 1.54515
  Normalizat = 1.37085
  Prefactor  = 0.869223
 **********
 **   18 **HESSE 
 **********

 FCN=   6724.719     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.929        36.175        .13154E-05   -1.5586    
   2  Index         1.5451        .66653        .47998E-03   -.76283    
   3  Normalizat    1.3708        .24802        .11295E-04   -.81476    
   4  Prefactor     .86922        .15217        .84304E-05   -.97225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03492e-12
Minuit parameter uncertainties:
  1  36.1748
  2  0.670369
  3  0.248235
  4  0.152247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16158': 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) = 6724.71940074
delta logL = 0.351451472941

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.693e+01  3.617e+01  0.000e+00  1.000e+06 ( 1.000e-14)
227        Index:  1.545e+00  6.704e-01  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  8.692e-01  1.522e-01  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  1.371e+00  2.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.92
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.55 +/- 0.67
Photon Flux (Free Index): 1.15e-08 +/- 1.67e-08
Energy Flux (Free Index): 3.13e-05 +/- 4.78e-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/16158/cmap_HighResolution_692928001_693187201_4FGL_J1440.9+0609_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.55e-08', energy_flux2='3.13e-05', photon_flux_error='2.52e-08', dlogl='3.51e-01', energy_flux='1.34e-05', photon_flux2='1.15e-08', job_status='DONE', time_completed='2022-12-20 01:16:19.057440', photon_index_error2='0.67', photon_index2='1.55', ts='5.21', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='4.78e-05', EG='1.36', time_epoch_completed='1671527779.06', return_code='0', job_id='16158', GAL2='0.87', EG2='1.37', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='1.67e-08', ts2='5.92', photon_index='2.12' WHERE bin_id='1750' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:16:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 16158: <4FGL_J1440.9+0609_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin1750> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 20 01:05:15 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:05:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:05:17 2022
Terminated at Tue Dec 20 01:16:19 2022
Results reported at Tue Dec 20 01:16:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin1750 220.242 6.1631 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1440.9+0609 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   450.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            664 sec.

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

