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


Performing analysis on: 4FGL_J1440.9+0609_weekly_bin751
RA = 220.242, Dec = 6.1631
tmin = 693187201, tmax = 693792001
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='677829', job_status='RUN', time_executed='2022-12-27 01:22:51.076852', time_epoch_executed='1672132971.08' WHERE source_name='4FGL J1440.9+0609' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677829

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677829/ft1_4FGL_J1440.9+0609_weekly_bin751.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677829/ft1_4FGL_J1440.9+0609_weekly_bin751.fits outfile=/scratch/kocevski/677829/ft1_filteredMKT_4FGL_J1440.9+0609_weekly_bin751.fits ra=220.242 dec=6.1631 rad=12.0 tmin=693187201.0 tmax=693792001.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 7.75
user 7.36
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.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/677829/ft1_filteredMKT_4FGL_J1440.9+0609_weekly_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/677829/ft1_filtered_4FGL_J1440.9+0609_weekly_bin751.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.57
user 0.40
sys 0.16

Number of photons that the gtmktime cut: 1532

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677829/ft1_filtered_4FGL_J1440.9+0609_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/677829/ltcube_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.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/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.fits
.....................!
real 35.71
user 35.25
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677829/ft1_filtered_4FGL_J1440.9+0609_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/677829/ltcube_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.fits outfile=/scratch/kocevski/677829/expmap_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.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/677829/ltcube_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.fits
.....................!
real 194.38
user 187.94
sys 5.47

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/677829/ft1_filtered_4FGL_J1440.9+0609_weekly_bin751.fits scfile=/scratch/kocevski/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.fits outfile=/scratch/kocevski/677829/cmap_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.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.59
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677829/ft1_filtered_4FGL_J1440.9+0609_weekly_bin751.fits scfile=/scratch/kocevski/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.fits outfile=/scratch/kocevski/677829/cmap_HighResolution_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.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.59
user 0.43
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/677829/ft1_filtered_4FGL_J1440.9+0609_weekly_bin751.fits', '/scratch/kocevski/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.fits', expMap='/scratch/kocevski/677829/expmap_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.fits', expCube='/scratch/kocevski/677829/ltcube_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/677829/Model_4FGL_J1440.9+0609_weekly_bin751.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/677829/ft1_filtered_4FGL_J1440.9+0609_weekly_bin751.fits
Spacecraft file(s): /scratch/kocevski/677829/ft2_4FGL_J1440.9+0609_weekly_bin751.fits
Exposure map: /scratch/kocevski/677829/expmap_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.fits
Exposure cube: /scratch/kocevski/677829/ltcube_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/677829/Model_4FGL_J1440.9+0609_weekly_bin751.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) = 16480.2926038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31697E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .52561E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    46.107       1.0000          .0000       .10000E+07
     4 'norm      '    10.052       1.0000          .0000       .10000E+07
     5 'norm      '    3.5187       1.0000          .0000       .10000E+07
     6 'Prefactor '    .89373E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11401E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16656E-05   1.0000          .0000       .10000E+07
     9 'norm      '    4.8431       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.4513       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7062       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48098E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .71390       1.0000          .0000       .10000E+07
    14 'norm      '    7.1339       1.0000          .0000       .10000E+07
    15 'norm      '    .41080E-04   1.0000          .0000       .10000E+07
    16 'norm      '    10.586       1.0000          .0000       .10000E+07
    17 'Normalizat'    .98232       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1046       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=   16480.10     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1056 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1549       -.28562E-06** at limit **
   2  Prefactor     .55511E-10    5.5187       -.34151E-06** at limit **
   3  Prefactor     45.940        1.1350        .15405E-07   -.29019E-01
   4  norm          10.036        7.6969       -.72707E-06   -.23066E-01
   5  norm          3.5131        1.1431       -.98295E-07    .18765E-01
   6  Prefactor      .0000        3.3155        .29024E-06** at limit **
   7  Prefactor     .29643E-07    17.064       -.11305E-05** at limit **
   8  Prefactor     .64948E-08    11.786       -.19158E-05** at limit **
   9  norm          4.9751        6.8247       -.23966E-06    .60974E-02
  10  Prefactor     6.6538        2.3231        .87411E-07   -.96068E-01
  11  Prefactor     2.7088        7.1992        .11135E-05    .29671E-02
  12  Prefactor     .18818E-07    68.447        .65779E-05** at limit **
  13  norm          .71392        .13778        .34263E-07   -.43011E-01
  14  norm          7.1340        1.8574        .31011E-07   -.30692E-02
  15  norm          .55511E-10    2.8059        .44264E-06** at limit **
  16  norm          10.587        3.3977        .67400E-07   -.11779E-02
  17  Normalizat    .98223        .16118       -.95106E-05   -.24808E-03
  18  Prefactor     1.1046        .10284        .24005E-05   -.35161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 45.94
  norm       = 10.0359
  norm       = 3.51314
  Prefactor  = 0
  Prefactor  = 2.9643e-08
  Prefactor  = 6.4948e-09
  norm       = 4.97513
  Prefactor  = 6.6538
  Prefactor  = 2.70883
  Prefactor  = 1.88183e-08
  norm       = 0.713921
  norm       = 7.13395
  norm       = 5.55112e-11
  norm       = 10.5871
  Normalizat = 0.982229
  Prefactor  = 1.10456
 **********
 **   18 **HESSE 
 **********

 FCN=   16480.10     FROM HESSE     STATUS=OK           282 CALLS     1338 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    5.5106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.940        19.045        .14728E-03   -1.5572    
   4  norm          10.036        7.7476        .31581E-03   -1.5645    
   5  norm          3.5131        10.405        .53869E-03   -1.5670    
   6  Prefactor      .0000        3.3087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .29643E-07    17.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .64948E-08    11.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.9751        6.8409        .45687E-03   -1.5663    
  10  Prefactor     6.6538        13.657        .39491E-03   -1.5656    
  11  Prefactor     2.7088        7.2272        .61894E-03   -1.5675    
  12  Prefactor     .18818E-07    67.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .71392        .13802        .45206E-03   -1.5691    
  14  norm          7.1340        1.8609        .37533E-03   -1.5655    
  15  norm          .55511E-10    2.7740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.587        3.3926        .30769E-03   -1.5643    
  17  Normalizat    .98223        .13961        .73437E-01   -.93628    
  18  Prefactor     1.1046        .87786E-01    .37414E-01   -.89321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83149e-07
Minuit parameter uncertainties:
  1  8.71812e-06
  2  2.99255e-05
  3  19.0446
  4  7.74761
  5  10.4054
  6  1.09107e-05
  7  0.00142774
  8  0.000553922
  9  6.8409
  10  13.6568
  11  7.22726
  12  0.00225444
  13  0.138016
  14  1.86088
  15  1.85644e-05
  16  3.39263
  17  0.139659
  18  0.0877971
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  6.495e-09  5.539e-04  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:  1.105e+00  8.780e-02  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:  9.822e-01  1.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 3.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677829/likelihoodResults_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.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) = 16480.1411235
delta logL = -0.0417890268873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16480.0993361
delta logL = -1.55896123033e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14325E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .82309       1.0000          .0000       10.000    
     3 'Normalizat'    .98233       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1045       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.

 FCN=   16480.10     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      228 TOTAL
                     EDM=   .71E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .16304E-01    .42118E-03** at limit **
   2  Index         2.2083        5.3061        .44017        .20662E-10
   3  Normalizat    .98223        .13373E-03    .73437E-01   -.12974E-03
   4  Prefactor     1.1046        .85376E-04    .37418E-01   -.78041E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.20831
  Normalizat = 0.982232
  Prefactor  = 1.10456
 **********
 **   18 **HESSE 
 **********

 FCN=   16480.10     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      257 TOTAL
                     EDM=   .40E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .76444E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2083        5.9327        .50000       -.59238    
   3  Normalizat    .98223        .28871E-03    .32494E-03   -.93628    
   4  Prefactor     1.1046        .18462E-03    .19596E-03   -.89321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.9888e-14
Minuit parameter uncertainties:
  1  4.77337e-06
  2  6518.28
  3  0.000288712
  4  0.000184618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677829': 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) = 16480.0993345
delta logL = 1.34605215862e-10

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  5.551e-11  4.773e-06  0.000e+00  1.000e+06 ( 1.000e-14)
227        Index:  2.208e+00  6.518e+03  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:  1.105e+00  1.846e-04  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:  9.822e-01  2.887e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.242 6.163

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/677829/cmap_HighResolution_693187201_693792001_4FGL_J1440.9+0609_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-03', job_status='DONE', photon_flux_upper_limit='3.44e-08', time_completed='2022-12-27 01:36:02.542653', job_id='677829', GAL2='1.10', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1672133762.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.35e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='751' AND source_name='4FGL J1440.9+0609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:36:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 677829: <4FGL_J1440.9+0609_weekly_bin751> in cluster <slac> Done

Job <4FGL_J1440.9+0609_weekly_bin751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 27 01:20:20 2022
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 01:20:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 27 01:20:54 2022
Terminated at Tue Dec 27 01:36:03 2022
Results reported at Tue Dec 27 01:36:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_weekly_bin751 220.242 6.1631 693187201 693792001 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 :                                   788.26 sec.
    Max Memory :                                 1254 MB
    Average Memory :                             285.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            943 sec.

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

