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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin795
RA = 220.242, Dec = 6.1631
tmin = 445392001, tmax = 445651201
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='699989', job_status='RUN', time_executed='2021-09-10 05:03:02.365882', time_epoch_executed='1631275382.37' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='795'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699989

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699989/ft1_4FGL_J1440.9+0609_daily_bin795.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699989/ft2_4FGL_J1440.9+0609_daily_bin795.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699989/ft1_4FGL_J1440.9+0609_daily_bin795.fits outfile=/scratch/kocevski/699989/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin795.fits ra=220.242 dec=6.1631 rad=12.0 tmin=445392001.0 tmax=445651201.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.93
user 3.68
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699989/ft1_filtered_4FGL_J1440.9+0609_daily_bin795.fits evtable="EVENTS" scfile=/scratch/kocevski/699989/ft2_4FGL_J1440.9+0609_daily_bin795.fits sctable="SC_DATA" expcube=/scratch/kocevski/699989/ltcube_445392001_445651201_4FGL_J1440.9+0609_daily_bin795.fits outfile=/scratch/kocevski/699989/expmap_445392001_445651201_4FGL_J1440.9+0609_daily_bin795.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/699989/ltcube_445392001_445651201_4FGL_J1440.9+0609_daily_bin795.fits
.....................!
real 190.34
user 184.89
sys 5.09

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/699989/ft1_filtered_4FGL_J1440.9+0609_daily_bin795.fits scfile=/scratch/kocevski/699989/ft2_4FGL_J1440.9+0609_daily_bin795.fits outfile=/scratch/kocevski/699989/cmap_445392001_445651201_4FGL_J1440.9+0609_daily_bin795.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699989/ft1_filtered_4FGL_J1440.9+0609_daily_bin795.fits scfile=/scratch/kocevski/699989/ft2_4FGL_J1440.9+0609_daily_bin795.fits outfile=/scratch/kocevski/699989/cmap_HighResolution_445392001_445651201_4FGL_J1440.9+0609_daily_bin795.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/699989/ft1_filtered_4FGL_J1440.9+0609_daily_bin795.fits evtable="EVENTS" scfile=/scratch/kocevski/699989/ft2_4FGL_J1440.9+0609_daily_bin795.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/699989/Model_4FGL_J1440.9+0609_daily_bin795.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/699989/ft1_filtered_4FGL_J1440.9+0609_daily_bin795.fits.....................!
real 59.99
user 58.55
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.183       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.913       1.0000         .10000E-03   10000.    
     6 'norm      '    5.9592       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59155E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    100.59       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.462       1.0000         .10000E-03   10000.    
    11 'norm      '    24.335       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2494       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10981E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    66.089       1.0000         .10000E-03   10000.    
    17 'norm      '    .53577       1.0000         .10000E-03   10000.    
    18 'norm      '    2.2685       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96428       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0931       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=   8208.269     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2525 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.983        .68244E-06** at limit **
   2  Prefactor     .10000E-03    8.8198        .22525E-06** at limit **
   3  Prefactor     .10000E-03    11.824        .32486E-06** at limit **
   4  norm          10.184        9.2271        .12450E-06   -.62592E-07
   5  Prefactor     10.887        25.445        .52682E-06   -.37678E-05
   6  norm          5.9297        22.004        .78830E-06    .25918E-04
   7  Prefactor     .10000E-03    2.9140        .12991E-06** at limit **
   8  Prefactor     .10000E-03    3.9847       -.96554E-07** at limit **
   9  Prefactor     100.49        64.141       -.13677E-05   -.33690E-03
  10  Prefactor     17.451        32.168       -.17117E-06   -.14290E-04
  11  norm          24.333        21.992        .92514E-07    .26975E-04
  12  Prefactor     .10000E-03    13.725        .35215E-07** at limit **
  13  Prefactor     2.3228        39.101        .13731E-05   -.12511E-04
  14  Prefactor     6.2237        19.890        .62164E-07    .21562E-04
  15  Prefactor     .10000E-03    34.582        .27809E-06** at limit **
  16  Prefactor     66.078        47.528        .14348E-07   -.23992E-04
  17  norm          .53575        .18106       -.87383E-08   -.68511E-03
  18  norm          2.2681        2.0304        .22284E-05   -.55137E-03
  19  norm          .10000E-03    1.6138       -.86251E-09** at limit **
  20  norm          .10000E-03    1.8629       -.10730E-06** at limit **
  21  Prefactor     .10000E-03    10.550       -.18259E-06** at limit **
  22  Normalizat    .96504        .20776        .56398E-06   -.12572E-03
  23  Prefactor     1.0927        .12265       -.14818E-05    .53336E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1842
  Prefactor  = 10.8867
  norm       = 5.92971
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 100.489
  Prefactor  = 17.4506
  norm       = 24.3334
  Prefactor  = 0.0001
  Prefactor  = 2.32277
  Prefactor  = 6.22373
  Prefactor  = 0.0001
  Prefactor  = 66.0779
  norm       = 0.53575
  norm       = 2.26811
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.965041
  Prefactor  = 1.09267
 **********
 **   18 **HESSE 
 **********

 FCN=   8208.269     FROM HESSE     STATUS=OK           368 CALLS     2893 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.8393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.184        9.2295        .12556E-03   -1.5070    
   5  Prefactor     10.887        25.511        .12128E-03   -1.5048    
   6  norm          5.9297        21.947        .16449E-03   -1.5221    
   7  Prefactor     .10000E-03    2.9260        .15099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.633        .34733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     100.49        64.237        .20043E-03   -1.3700    
  10  Prefactor     17.451        32.137        .95847E-04   -1.4872    
  11  norm          24.333        21.964        .81201E-04   -1.4721    
  12  Prefactor     .10000E-03    13.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3228        38.954        .26932E-03   -1.5403    
  14  Prefactor     6.2237        19.875        .16058E-03   -1.5209    
  15  Prefactor     .10000E-03    34.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     66.078        47.406        .49368E-04   -1.4080    
  17  norm          .53575        .17978        .21351E-04   -1.5562    
  18  norm          2.2681        2.0359        .58475E-03   -1.5407    
  19  norm          .10000E-03    1.6143        .11240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.9016        .12074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .96504        .24248        .32886E-03   -.94211    
  23  Prefactor     1.0927        .14340        .19252E-03   -.89701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53411e-10
Minuit parameter uncertainties:
  1  6.04005e-05
  2  2.41342e-05
  3  4.69411e-05
  4  9.23083
  5  25.5365
  6  21.9764
  7  4.30425e-06
  8  0.000200241
  9  64.2819
  10  32.1693
  11  21.9714
  12  4.82069e-05
  13  19.0384
  14  19.8965
  15  2.02721e-05
  16  47.4335
  17  0.179784
  18  2.03594
  19  7.59381e-07
  20  1.15206e-05
  21  6.60992e-05
  22  0.242752
  23  0.143455
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.745e+01  3.217e+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.093e+00  1.435e-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:  9.650e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/699989/likelihoodResults_445392001_445651201_4FGL_J1440.9+0609_daily_bin795.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) = 8208.25009373
delta logL = 0.0187417884317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8208.24245682
delta logL = 0.0263787002023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.519       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8631       1.0000          .0000       10.000    
     3 'Normalizat'    .97144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0906       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=   8208.242     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      233 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.545        35.516        .86345E-04   -.63021E-03
   2  Index         1.8604        1.0765        .98412E-02   -.36134E-03
   3  Normalizat    .97172        .22853        .32788E-03    .21147E-02
   4  Prefactor     1.0906        .14167        .19269E-03    .38841E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5451
  Index      = 1.8604
  Normalizat = 0.971715
  Prefactor  = 1.09064
 **********
 **   18 **HESSE 
 **********

 FCN=   8208.242     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.545        34.930        .17269E-04   -1.4779    
   2  Index         1.8604        1.0585        .39365E-03   -.67888    
   3  Normalizat    .97172        .22855        .65576E-04   -.93984    
   4  Prefactor     1.0906        .14176        .38538E-04   -.89766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92979e-08
Minuit parameter uncertainties:
  1  34.9628
  2  1.07202
  3  0.228779
  4  0.141805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699989': 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) = 8208.2424496
delta logL = 0.0263859142306

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.155e+01  3.496e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.860e+00  1.072e+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:  1.091e+00  1.418e-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:  9.717e-01  2.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.61
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/699989/cmap_HighResolution_445392001_445651201_4FGL_J1440.9+0609_daily_bin795.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.28e-08', time_completed='2021-09-10 05:14:10.008986', job_id='699989', GAL2='1.09', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631276050.01', return_code2='0', ts='0.61', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.64e-02', ts2='0.66', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='795' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:14:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 699989: <4FGL_J1440.9+0609_daily_bin795> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin795> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 05:01:09 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:01:11 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:11 2021
Terminated at Fri Sep 10 05:14:10 2021
Results reported at Fri Sep 10 05:14:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin795 220.242 6.1631 445392001 445651201 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 :                                   667.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            781 sec.

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

