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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin10
RA = 220.242, Dec = 6.1631
tmin = 241920001, tmax = 242179201
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='695628', job_status='RUN', time_executed='2021-09-10 04:48:01.468379', time_epoch_executed='1631274481.47' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='10'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695628

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695628/ft1_4FGL_J1440.9+0609_daily_bin10.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695628/ft2_4FGL_J1440.9+0609_daily_bin10.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695628/ft1_4FGL_J1440.9+0609_daily_bin10.fits outfile=/scratch/kocevski/695628/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin10.fits ra=220.242 dec=6.1631 rad=12.0 tmin=241920001.0 tmax=242179201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 1.44
user 1.24
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695628/ft1_filtered_4FGL_J1440.9+0609_daily_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/695628/ft2_4FGL_J1440.9+0609_daily_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/695628/ltcube_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.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/695628/ft2_4FGL_J1440.9+0609_daily_bin10.fits
.....................!
real 12.38
user 12.02
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695628/ft1_filtered_4FGL_J1440.9+0609_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/695628/ft2_4FGL_J1440.9+0609_daily_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/695628/ltcube_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.fits outfile=/scratch/kocevski/695628/expmap_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.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/695628/ltcube_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.fits
.....................!
real 190.93
user 185.47
sys 5.10

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/695628/ft1_filtered_4FGL_J1440.9+0609_daily_bin10.fits scfile=/scratch/kocevski/695628/ft2_4FGL_J1440.9+0609_daily_bin10.fits outfile=/scratch/kocevski/695628/cmap_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695628/ft1_filtered_4FGL_J1440.9+0609_daily_bin10.fits scfile=/scratch/kocevski/695628/ft2_4FGL_J1440.9+0609_daily_bin10.fits outfile=/scratch/kocevski/695628/cmap_HighResolution_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/695628/ft1_filtered_4FGL_J1440.9+0609_daily_bin10.fits', '/scratch/kocevski/695628/ft2_4FGL_J1440.9+0609_daily_bin10.fits', expMap='/scratch/kocevski/695628/expmap_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.fits', expCube='/scratch/kocevski/695628/ltcube_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/695628/Model_4FGL_J1440.9+0609_daily_bin10.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  1.000e-04  1.000e+04 ( 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/695628/ft1_filtered_4FGL_J1440.9+0609_daily_bin10.fits
Spacecraft file(s): /scratch/kocevski/695628/ft2_4FGL_J1440.9+0609_daily_bin10.fits
Exposure map: /scratch/kocevski/695628/expmap_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.fits
Exposure cube: /scratch/kocevski/695628/ltcube_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/695628/Model_4FGL_J1440.9+0609_daily_bin10.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) = 11528.5376047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2899       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8517       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10695E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    78.600       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.397       1.0000         .10000E-03   10000.    
    11 'norm      '    6.1806       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.671       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.498       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.837       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0248       1.0000         .10000E-03   10000.    
    18 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.337       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.1403       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85700       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0395       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.

 FCN=   11528.54     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2554 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2901        8.8889        .15546E-08   -.20676E-03
   2  Prefactor     2.8515        4.1162        .83652E-07   -.36093E-03
   3  Prefactor     .10000E-03    7.5942       -.22682E-07** at limit **
   4  norm          .10000E-03    1.9819       -.11079E-07** at limit **
   5  Prefactor     .10000E-03    24.003       -.13404E-05** at limit **
   6  norm          .10000E-03    34.388       -.47912E-05** at limit **
   7  Prefactor     .10000E-03    3.8258        .29125E-08** at limit **
   8  Prefactor     .10000E-03    3.4009       -.18812E-07** at limit **
   9  Prefactor     78.599        56.185       -.11349E-05    .71328E-05
  10  Prefactor     27.396        18.137       -.19558E-06    .75413E-05
  11  norm          6.1806        7.1299        .71571E-07    .56030E-05
  12  Prefactor     29.672        22.209        .63439E-06   -.67125E-05
  13  Prefactor     11.498        15.067       -.97386E-07   -.81880E-06
  14  Prefactor     14.837        15.114       -.86254E-07   -.77204E-04
  15  Prefactor     .10000E-03    12.766       -.10685E-07** at limit **
  16  Prefactor     .10000E-03    31.654        .57110E-05** at limit **
  17  norm          3.0248        .28154       -.13645E-08   -.54959E-04
  18  norm          .10000E-03    .87229       -.23307E-07** at limit **
  19  norm          .10000E-03    5.8112       -.21144E-08** at limit **
  20  norm          14.338        4.3391        .96565E-07    .28791E-04
  21  Prefactor     2.1396        59.425       -.18277E-05   -.31618E-05
  22  Normalizat    .85701        .17196        .15544E-06    .30535E-04
  23  Prefactor     1.0395        .10540       -.68369E-08    .59522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.29007
  Prefactor  = 2.85151
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 78.5991
  Prefactor  = 27.3963
  norm       = 6.18064
  Prefactor  = 29.6716
  Prefactor  = 11.498
  Prefactor  = 14.8374
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.02485
  norm       = 0.0001
  norm       = 0.0001
  norm       = 14.3377
  Prefactor  = 2.13958
  Normalizat = 0.857014
  Prefactor  = 1.03948
 **********
 **   18 **HESSE 
 **********

 FCN=   11528.54     FROM HESSE     STATUS=OK           372 CALLS     2926 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2901        9.8777        .87376E-03   -1.5248    
   2  Prefactor     2.8515        7.3183        .12038E-02   -1.5370    
   3  Prefactor     .10000E-03    7.6054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.9823        .14762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    34.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9750        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.4999        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.599        56.248        .45297E-04   -1.3933    
  10  Prefactor     27.396        18.154        .76538E-04   -1.4661    
  11  norm          6.1806        7.1336        .16148E-03   -1.5211    
  12  Prefactor     29.672        22.184        .73554E-04   -1.4618    
  13  Prefactor     11.498        15.068        .11814E-03   -1.5030    
  14  Prefactor     14.837        15.262        .51991E-03   -1.4937    
  15  Prefactor     .10000E-03    12.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    31.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0248        .28200        .16529E-04   -1.5360    
  18  norm          .10000E-03    1.7096        .19090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.0612        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.338        4.3015        .10578E-03   -1.4950    
  21  Prefactor     2.1396        59.974        .28173E-03   -1.5415    
  22  Normalizat    .85701        .20184        .35148E-03   -.97987    
  23  Prefactor     1.0395        .12424        .20094E-03   -.91425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15109e-10
Minuit parameter uncertainties:
  1  9.88078
  2  7.32056
  3  7.64251e-07
  4  4.9449e-09
  5  1.45495e-05
  6  6.98245e-05
  7  1.41437e-06
  8  2.26166e-06
  9  56.2861
  10  18.1576
  11  7.13455
  12  22.1906
  13  15.0734
  14  15.2658
  15  1.04065e-05
  16  1.59752e-05
  17  0.281996
  18  1.58905e-06
  19  1.08009e-07
  20  4.30161
  21  22.6802
  22  0.202016
  23  0.124271
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.740e+01  1.816e+01  1.000e-04  1.000e+04 ( 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.039e+00  1.243e-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:  8.570e-01  2.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.81
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.90e-08 +/- 1.92e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.01e-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) = 11524.2899576
delta logL = 4.24516271778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11524.2720505
delta logL = 4.26306985491

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.914       1.0000         .10000E-03   10000.    
     2 'Index     '    .86653       1.0000          .0000       10.000    
     3 'Normalizat'    .87623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       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=   11524.27     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      216 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.960        22.512        .17732E-02    .50829E-04
   2  Index         .86713        .32536        .27039       -.53945E-04
   3  Normalizat    .87624        .16601        .78583E-01   -.31795E-03
   4  Prefactor     1.0357        .10415        .40828E-01   -.73074E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.9601
  Index      = 0.867126
  Normalizat = 0.876235
  Prefactor  = 1.03574
 **********
 **   18 **HESSE 
 **********

 FCN=   11524.27     FROM HESSE     STATUS=OK            29 CALLS      245 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.960        34.841        .70928E-04   -1.4577    
   2  Index         .86713        .50215        .11948E-02   -.97299    
   3  Normalizat    .87624        .19536        .34785E-03   -.97300    
   4  Prefactor     1.0357        .12286        .20128E-03   -.91548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10572e-10
Minuit parameter uncertainties:
  1  34.8632
  2  0.504855
  3  0.195521
  4  0.122888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695628': 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) = 11524.2720496
delta logL = 4.26307075406

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.196e+01  3.486e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  8.671e-01  5.049e-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:  1.036e+00  1.229e-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:  8.762e-01  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.32
Ra Dec: 220.242 6.163
Photon Index (Free Index): 0.87 +/- 0.50
Photon Flux (Free Index): 6.54e-09 +/- 5.67e-09
Energy Flux (Free Index): 1.28e-04 +/- 1.10e-04

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/695628/cmap_HighResolution_241920001_242179201_4FGL_J1440.9+0609_daily_bin10.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.90e-08', energy_flux2='1.28e-04', photon_flux_error='1.92e-08', dlogl='4.26e+00', energy_flux='1.52e-05', photon_flux2='6.54e-09', job_status='DONE', time_completed='2021-09-10 05:00:19.119567', photon_index_error2='0.50', photon_index2='0.87', ts='8.81', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.10e-04', EG='0.86', time_epoch_completed='1631275219.12', return_code='0', job_id='695628', GAL2='1.04', EG2='0.88', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='5.67e-09', ts2='17.32', photon_index='2.12' WHERE bin_id='10' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:00:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 695628: <4FGL_J1440.9+0609_daily_bin10> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin10> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 04:46:35 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:46:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 04:46:36 2021
Terminated at Fri Sep 10 05:00:19 2021
Results reported at Fri Sep 10 05:00:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin10 220.242 6.1631 241920001 242179201 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 :                                   737.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             308.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            824 sec.

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

