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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin832
RA = 220.242, Dec = 6.1631
tmin = 454982401, tmax = 455241601
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='700049', job_status='RUN', time_executed='2021-09-10 05:04:53.519845', time_epoch_executed='1631275493.52' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='832'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700049

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700049/ft1_4FGL_J1440.9+0609_daily_bin832.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700049/ft2_4FGL_J1440.9+0609_daily_bin832.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700049/ft1_4FGL_J1440.9+0609_daily_bin832.fits outfile=/scratch/kocevski/700049/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin832.fits ra=220.242 dec=6.1631 rad=12.0 tmin=454982401.0 tmax=455241601.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.45
user 3.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700049/ft2_4FGL_J1440.9+0609_daily_bin832.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/700049/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin832.fits evtable="EVENTS" outfile="/scratch/kocevski/700049/ft1_filtered_4FGL_J1440.9+0609_daily_bin832.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700049/ft1_filtered_4FGL_J1440.9+0609_daily_bin832.fits" evtable="EVENTS" scfile=/scratch/kocevski/700049/ft2_4FGL_J1440.9+0609_daily_bin832.fits sctable="SC_DATA" outfile=/scratch/kocevski/700049/ltcube_454982401_455241601_4FGL_J1440.9+0609_daily_bin832.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/700049/ft2_4FGL_J1440.9+0609_daily_bin832.fits
.....................!
real 11.83
user 11.50
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700049/ft1_filtered_4FGL_J1440.9+0609_daily_bin832.fits evtable="EVENTS" scfile=/scratch/kocevski/700049/ft2_4FGL_J1440.9+0609_daily_bin832.fits sctable="SC_DATA" expcube=/scratch/kocevski/700049/ltcube_454982401_455241601_4FGL_J1440.9+0609_daily_bin832.fits outfile=/scratch/kocevski/700049/expmap_454982401_455241601_4FGL_J1440.9+0609_daily_bin832.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/700049/ltcube_454982401_455241601_4FGL_J1440.9+0609_daily_bin832.fits
.....................!
real 190.85
user 185.80
sys 4.68

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/700049/ft1_filtered_4FGL_J1440.9+0609_daily_bin832.fits scfile=/scratch/kocevski/700049/ft2_4FGL_J1440.9+0609_daily_bin832.fits outfile=/scratch/kocevski/700049/cmap_454982401_455241601_4FGL_J1440.9+0609_daily_bin832.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700049/ft1_filtered_4FGL_J1440.9+0609_daily_bin832.fits scfile=/scratch/kocevski/700049/ft2_4FGL_J1440.9+0609_daily_bin832.fits outfile=/scratch/kocevski/700049/cmap_HighResolution_454982401_455241601_4FGL_J1440.9+0609_daily_bin832.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    58.674       1.0000         .10000E-03   10000.    
     4 'norm      '    14.800       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20342E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7582       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.013       1.0000         .10000E-03   10000.    
    11 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.386       1.0000         .10000E-03   10000.    
    13 'Prefactor '    51.246       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9605       1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.570       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6774       1.0000         .10000E-03   10000.    
    18 'norm      '    .23608       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .67305       1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.173       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1834       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91986       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=   6983.773     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2562 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.677        .23332E-05** at limit **
   2  Prefactor     .10000E-03    8.5876        .23035E-06** at limit **
   3  Prefactor     58.675        38.750       -.22747E-07    .10382E-03
   4  norm          14.800        12.510        .45375E-07   -.11923E-04
   5  Prefactor     .10000E-03    20.448       -.24543E-07** at limit **
   6  norm          .10000E-03    8.2158       -.18398E-06** at limit **
   7  Prefactor     .10055E-03    8.7903       -.29121E-05** at limit **
   8  Prefactor     .10000E-03    2.9499        .62093E-07** at limit **
   9  Prefactor     1.7181        306.60       -.88908E-05   -.47567E-04
  10  Prefactor     16.017        19.912       -.91827E-07   -.31353E-04
  11  norm          .10000E-03    6.0674       -.40707E-07** at limit **
  12  Prefactor     21.384        26.471       -.27392E-06   -.25755E-04
  13  Prefactor     51.238        27.760       -.23133E-07   -.10333E-03
  14  Prefactor     .10000E-03    14.951        .30159E-06** at limit **
  15  Prefactor     1.9634        76.545        .49810E-05    .58126E-04
  16  Prefactor     33.580        48.780       -.65649E-06   -.60711E-06
  17  norm          2.6774        .35867        .60325E-08   -.93331E-03
  18  norm          .23609        1.3794        .74672E-06   -.80785E-03
  19  norm          .10000E-03    1.8704       -.84132E-10** at limit **
  20  norm          .67305        2.4721        .23974E-05    .84357E-03
  21  Prefactor     28.169        41.015       -.37370E-06   -.57941E-04
  22  Normalizat    1.1834        .23304       -.14326E-05   -.18486E-03
  23  Prefactor     .91989        .13492        .78753E-07   -.27676E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 58.6748
  norm       = 14.8
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100545
  Prefactor  = 0.0001
  Prefactor  = 1.71813
  Prefactor  = 16.0175
  norm       = 0.0001
  Prefactor  = 21.3841
  Prefactor  = 51.2378
  Prefactor  = 0.0001
  Prefactor  = 1.96336
  Prefactor  = 33.58
  norm       = 2.6774
  norm       = 0.236089
  norm       = 0.0001
  norm       = 0.673053
  Prefactor  = 28.1686
  Normalizat = 1.18345
  Prefactor  = 0.919885
 **********
 **   18 **HESSE 
 **********

 FCN=   6983.773     FROM HESSE     STATUS=OK           370 CALLS     2932 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.087        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.6074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     58.675        38.535        .52376E-04   -1.4174    
   4  norm          14.800        12.515        .10411E-03   -1.4938    
   5  Prefactor     .10000E-03    20.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.2261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10055E-03    39.543        .34893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.9635        .14012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7181        321.73        .31605E-03   -1.5446    
  10  Prefactor     16.017        19.910        .10009E-03   -1.4907    
  11  norm          .10000E-03    6.0712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.384        26.414        .86613E-04   -1.4783    
  13  Prefactor     51.238        27.808        .56023E-04   -1.4275    
  14  Prefactor     .10000E-03    15.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9634        74.944        .29626E-03   -1.5428    
  16  Prefactor     33.580        48.194        .69161E-04   -1.4548    
  17  norm          2.6774        .35946        .17371E-04   -1.5381    
  18  norm          .23609        4.7489        .16664E-02   -1.5611    
  19  norm          .10000E-03    1.8707        .11162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .67305        2.5603        .25222E-03   -1.5544    
  21  Prefactor     28.169        41.019        .75478E-04   -1.4646    
  22  Normalizat    1.1834        .27772        .32288E-03   -.87116    
  23  Prefactor     .91989        .16190        .21639E-03   -.95450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.506e-08
Minuit parameter uncertainties:
  1  0.000630985
  2  5.69801e-05
  3  38.5518
  4  12.5171
  5  5.96408e-06
  6  4.10672e-05
  7  0.00929394
  8  1.34135e-05
  9  47.2811
  10  19.9185
  11  8.75337e-07
  12  26.4285
  13  27.8149
  14  3.593e-05
  15  24.2926
  16  48.2496
  17  0.359461
  18  2.11745
  19  5.66056e-08
  20  2.56067
  21  41.0604
  22  0.278066
  23  0.161986
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.602e+01  1.992e+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.199e-01  1.620e-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.183e+00  2.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.11e-08
Energy Flux (Fixed Index): 8.91e-06 +/- 1.11e-05

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

Saving results to:
/scratch/kocevski/700049/likelihoodResults_454982401_455241601_4FGL_J1440.9+0609_daily_bin832.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) = 6983.5562776
delta logL = 0.217088784064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6983.5527271
delta logL = 0.220639284041

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.750       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6219       1.0000          .0000       10.000    
     3 'Normalizat'    1.1908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91758       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=   6983.553     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      307 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.757        34.287        .76050E-04    .30137E-04
   2  Index         1.6219        .72318        .11940E-01    .16925E-03
   3  Normalizat    1.1910        .26347        .32198E-03   -.42724E-04
   4  Prefactor     .91750        .15888        .21661E-03   -.41149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.7567
  Index      = 1.62189
  Normalizat = 1.19097
  Prefactor  = 0.917497
 **********
 **   18 **HESSE 
 **********

 FCN=   6983.553     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.757        33.950        .15210E-04   -1.4654    
   2  Index         1.6219        .71656        .23879E-02   -.74181    
   3  Normalizat    1.1910        .26374        .12879E-04   -.86882    
   4  Prefactor     .91750        .15905        .86643E-05   -.95532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09611e-11
Minuit parameter uncertainties:
  1  33.974
  2  0.721153
  3  0.264039
  4  0.159134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700049': 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) = 6983.55272695
delta logL = 0.220639437546

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.776e+01  3.397e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.622e+00  7.212e-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:  9.175e-01  1.591e-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.191e+00  2.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.80
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.62 +/- 0.72
Photon Flux (Free Index): 9.89e-09 +/- 1.56e-08
Energy Flux (Free Index): 2.08e-05 +/- 3.74e-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/700049/cmap_HighResolution_454982401_455241601_4FGL_J1440.9+0609_daily_bin832.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.14e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='2.08e-05', photon_flux_error='2.11e-08', dlogl='2.21e-01', energy_flux='8.91e-06', photon_flux2='9.89e-09', job_status='DONE', time_completed='2021-09-10 05:15:24.001946', photon_index_error2='0.72', photon_index2='1.62', ts='1.36', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='8.11e-08', energy_flux_error2='3.74e-05', EG='1.18', time_epoch_completed='1631276124.0', return_code='0', job_id='700049', GAL2='0.92', EG2='1.19', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='1.56e-08', ts2='1.80', photon_index='2.12' WHERE bin_id='832' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:15:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 700049: <4FGL_J1440.9+0609_daily_bin832> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin832> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 05:01:15 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:01:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:01:16 2021
Terminated at Fri Sep 10 05:15:24 2021
Results reported at Fri Sep 10 05:15:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin832 220.242 6.1631 454982401 455241601 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 :                                   630.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            849 sec.

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

