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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin105
RA = 220.242, Dec = 6.1631
tmin = 266544001, tmax = 266803201
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='696870', job_status='RUN', time_executed='2021-09-10 04:53:40.943219', time_epoch_executed='1631274820.94' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696870

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696870/ft1_4FGL_J1440.9+0609_daily_bin105.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696870/ft2_4FGL_J1440.9+0609_daily_bin105.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696870/ft1_4FGL_J1440.9+0609_daily_bin105.fits outfile=/scratch/kocevski/696870/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin105.fits ra=220.242 dec=6.1631 rad=12.0 tmin=266544001.0 tmax=266803201.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.41
user 1.22
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696870/ft1_filtered_4FGL_J1440.9+0609_daily_bin105.fits evtable="EVENTS" scfile=/scratch/kocevski/696870/ft2_4FGL_J1440.9+0609_daily_bin105.fits sctable="SC_DATA" expcube=/scratch/kocevski/696870/ltcube_266544001_266803201_4FGL_J1440.9+0609_daily_bin105.fits outfile=/scratch/kocevski/696870/expmap_266544001_266803201_4FGL_J1440.9+0609_daily_bin105.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/696870/ltcube_266544001_266803201_4FGL_J1440.9+0609_daily_bin105.fits
.....................!
real 193.57
user 187.54
sys 5.66

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/696870/ft1_filtered_4FGL_J1440.9+0609_daily_bin105.fits scfile=/scratch/kocevski/696870/ft2_4FGL_J1440.9+0609_daily_bin105.fits outfile=/scratch/kocevski/696870/cmap_266544001_266803201_4FGL_J1440.9+0609_daily_bin105.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696870/ft1_filtered_4FGL_J1440.9+0609_daily_bin105.fits scfile=/scratch/kocevski/696870/ft2_4FGL_J1440.9+0609_daily_bin105.fits outfile=/scratch/kocevski/696870/cmap_HighResolution_266544001_266803201_4FGL_J1440.9+0609_daily_bin105.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/696870/ft1_filtered_4FGL_J1440.9+0609_daily_bin105.fits evtable="EVENTS" scfile=/scratch/kocevski/696870/ft2_4FGL_J1440.9+0609_daily_bin105.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696870/Model_4FGL_J1440.9+0609_daily_bin105.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/696870/ft1_filtered_4FGL_J1440.9+0609_daily_bin105.fits.....................!
real 70.22
user 68.71
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5697       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0072       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10976E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    6.1109       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12225E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    25.136       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11848E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.502       1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10712E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5404       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.2141       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4974       1.0000         .10000E-03   10000.    
    19 'norm      '    3.5635       1.0000         .10000E-03   10000.    
    20 'norm      '    4.5769       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4055       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90834       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=   9197.608     FROM MIGRAD    STATUS=CONVERGED    908 CALLS     2927 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5691        10.753        .17023E-03   -.25912E-04
   2  Prefactor     4.0250        23.586        .20146E-03    .42210E-04
   3  Prefactor     .10000E-03    25.006        .12586    ** at limit **
   4  norm          6.1112        6.4473        .81205E-03   -.60368E-04
   5  Prefactor     .10000E-03    18.689        .18142E-02** at limit **
   6  norm          25.104        26.353        .79899E-04   -.52362E-04
   7  Prefactor     .10000E-03    7.5545        .18142E-02** at limit **
   8  Prefactor     .10000E-03    10.440        .33596E-02** at limit **
   9  Prefactor     .10000E-03    19.021        .18142E-02** at limit **
  10  Prefactor     23.515        25.340        .82627E-04   -.17061E-04
  11  norm          .10000E-03    9.1428        .18142E-02** at limit **
  12  Prefactor     .10000E-03    15.243        .18142E-02** at limit **
  13  Prefactor     .10000E-03    6.9705        .18142E-02** at limit **
  14  Prefactor     .10000E-03    8.7963        .18142E-02** at limit **
  15  Prefactor     1.5531        74.954        .34354E-03    .17870E-05
  16  Prefactor     .10000E-03    15.665        .18142E-02** at limit **
  17  norm          3.2143        .34768        .17700E-04   -.39180E-03
  18  norm          1.4970        1.6250        .12321E-03   -.47242E-04
  19  norm          3.5623        3.6808        .18224E-03   -.19963E-05
  20  norm          4.5771        3.4454        .14842E-03    .16238E-04
  21  Prefactor     .10000E-03    10.627        .18142E-02** at limit **
  22  Normalizat    1.4049        .23741        .30536E-03   -.66494E-04
  23  Prefactor     .90868        .13707        .22342E-03   -.45694E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.56911
  Prefactor  = 4.02502
  Prefactor  = 0.000100003
  norm       = 6.1112
  Prefactor  = 0.0001
  norm       = 25.1039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.5152
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.55307
  Prefactor  = 0.0001
  norm       = 3.21428
  norm       = 1.49697
  norm       = 3.56234
  norm       = 4.57712
  Prefactor  = 0.0001
  Normalizat = 1.40488
  Prefactor  = 0.908678
 **********
 **   18 **HESSE 
 **********

 FCN=   9197.608     FROM HESSE     STATUS=OK           358 CALLS     3285 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5691        10.752        .68093E-05   -1.5236    
   2  Prefactor     4.0250        23.578        .80585E-05   -1.5307    
   3  Prefactor     .10000E-03    24.943        .12606       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.1112        6.4473        .16241E-03   -1.5214    
   5  Prefactor     .10000E-03    18.692        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          25.104        26.354        .31960E-05   -1.4705    
   7  Prefactor     .10000E-03    7.5603        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.529        .67193E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.021        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.515        25.345        .33051E-05   -1.4738    
  11  norm          .10000E-03    9.1430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.9708        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7978        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5531        74.917        .13742E-04   -1.5459    
  16  Prefactor     .10000E-03    15.665        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2143        .34769        .70800E-06   -1.5349    
  18  norm          1.4970        1.6249        .49285E-05   -1.5463    
  19  norm          3.5623        3.6808        .72895E-05   -1.5330    
  20  norm          4.5771        3.4453        .59369E-05   -1.5280    
  21  Prefactor     .10000E-03    10.627        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4049        .23757        .12214E-04   -.80488    
  23  Prefactor     .90868        .13719        .89370E-05   -.95839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09251e-11
Minuit parameter uncertainties:
  1  10.7554
  2  19.4949
  3  0.00058064
  4  6.44806
  5  6.93586e-05
  6  26.3663
  7  3.97868e-06
  8  1.37838e-05
  9  1.30587e-05
  10  25.3566
  11  2.09395e-05
  12  5.06304e-05
  13  2.64663e-06
  14  3.09663e-05
  15  21.6013
  16  2.68146e-05
  17  0.34769
  18  1.62491
  19  3.68108
  20  3.44541
  21  8.97278e-06
  22  0.237756
  23  0.137246
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.352e+01  2.536e+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:  9.087e-01  1.372e-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.405e+00  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.49e-08 +/- 2.68e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 1.41e-05

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

Saving results to:
/scratch/kocevski/696870/likelihoodResults_266544001_266803201_4FGL_J1440.9+0609_daily_bin105.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) = 9197.55054389
delta logL = 0.0570781945316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9197.54236689
delta logL = 0.0652551996009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.655       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4770       1.0000          .0000       10.000    
     3 'Normalizat'    1.3913       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91334       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=   9197.542     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      321 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.647        195.14        .10839E-03   -.49085E-03
   2  Index         2.4771        3.1914        .73102E-02   -.13105E-03
   3  Normalizat    1.3905        .26255        .30665E-03    .85943E-03
   4  Prefactor     .91385        .14824        .22287E-03    .76760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.647
  Index      = 2.47712
  Normalizat = 1.39046
  Prefactor  = 0.91385
 **********
 **   18 **HESSE 
 **********

 FCN=   9197.542     FROM HESSE     STATUS=OK            25 CALLS      346 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.647        31.651        .43358E-05   -1.4969    
   2  Index         2.4771        1.0853        .29241E-03   -.52889    
   3  Normalizat    1.3905        .22847        .61329E-04   -.80905    
   4  Prefactor     .91385        .13666        .44573E-04   -.95659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60401e-09
Minuit parameter uncertainties:
  1  31.6903
  2  1.09708
  3  0.228637
  4  0.136713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696870': 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) = 9197.54235946
delta logL = 0.0652626291267

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.365e+01  3.169e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.477e+00  1.097e+00  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:  9.138e-01  1.367e-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.390e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 220.242 6.163
Photon Index (Free Index): 2.48 +/- 1.10
Photon Flux (Free Index): 3.61e-08 +/- 4.67e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.17e-05

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/696870/cmap_HighResolution_266544001_266803201_4FGL_J1440.9+0609_daily_bin105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.86e-03', comment='SUCCESS', photon_flux='2.49e-08', energy_flux2='1.08e-05', photon_flux_error='2.68e-08', dlogl='6.53e-02', energy_flux='1.31e-05', photon_flux2='3.61e-08', job_status='DONE', time_completed='2021-09-10 05:06:28.117904', photon_index_error2='1.10', photon_index2='2.48', ts='1.33', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='9.06e-08', energy_flux_error2='1.17e-05', EG='1.40', time_epoch_completed='1631275588.12', return_code='0', job_id='696870', GAL2='0.91', EG2='1.39', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='4.67e-08', ts2='1.46', photon_index='2.12' WHERE bin_id='105' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:06:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 696870: <4FGL_J1440.9+0609_daily_bin105> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin105> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 04:51:16 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:51:18 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:51:18 2021
Terminated at Fri Sep 10 05:06:28 2021
Results reported at Fri Sep 10 05:06:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin105 220.242 6.1631 266544001 266803201 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 :                                   767.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

