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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin459
RA = 220.242, Dec = 6.1631
tmin = 358300801, tmax = 358560001
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='698436', job_status='RUN', time_executed='2021-09-10 04:59:35.335400', time_epoch_executed='1631275175.34' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='459'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698436

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698436/ft1_4FGL_J1440.9+0609_daily_bin459.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698436/ft2_4FGL_J1440.9+0609_daily_bin459.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698436/ft1_4FGL_J1440.9+0609_daily_bin459.fits outfile=/scratch/kocevski/698436/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin459.fits ra=220.242 dec=6.1631 rad=12.0 tmin=358300801.0 tmax=358560001.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 5.31
user 5.01
sys 0.28

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698436/ft1_filtered_4FGL_J1440.9+0609_daily_bin459.fits evtable="EVENTS" scfile=/scratch/kocevski/698436/ft2_4FGL_J1440.9+0609_daily_bin459.fits sctable="SC_DATA" expcube=/scratch/kocevski/698436/ltcube_358300801_358560001_4FGL_J1440.9+0609_daily_bin459.fits outfile=/scratch/kocevski/698436/expmap_358300801_358560001_4FGL_J1440.9+0609_daily_bin459.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/698436/ltcube_358300801_358560001_4FGL_J1440.9+0609_daily_bin459.fits
.....................!
real 193.18
user 187.55
sys 5.25

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/698436/ft1_filtered_4FGL_J1440.9+0609_daily_bin459.fits scfile=/scratch/kocevski/698436/ft2_4FGL_J1440.9+0609_daily_bin459.fits outfile=/scratch/kocevski/698436/cmap_358300801_358560001_4FGL_J1440.9+0609_daily_bin459.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698436/ft1_filtered_4FGL_J1440.9+0609_daily_bin459.fits scfile=/scratch/kocevski/698436/ft2_4FGL_J1440.9+0609_daily_bin459.fits outfile=/scratch/kocevski/698436/cmap_HighResolution_358300801_358560001_4FGL_J1440.9+0609_daily_bin459.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.1171       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    75.287       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    122.95       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.915       1.0000         .10000E-03   10000.    
    11 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.436       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4552       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .39486       1.0000         .10000E-03   10000.    
    18 'norm      '    .65227       1.0000         .10000E-03   10000.    
    19 'norm      '    4.6280       1.0000         .10000E-03   10000.    
    20 'norm      '    1.7965       1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.236       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0699       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95710       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=   6312.585     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2527 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7868       -.22751E-06** at limit **
   2  Prefactor     .10000E-03    8.0132        .15652E-05** at limit **
   3  Prefactor     .10000E-03    7.9203       -.10247E-05** at limit **
   4  norm          3.1163        9.1890       -.19707E-06   -.17776E-03
   5  Prefactor     .10000E-03    12.171       -.26320E-05** at limit **
   6  norm          75.295        41.391        .45364E-05   -.13668E-04
   7  Prefactor     .10000E-03    5.1350       -.34076E-06** at limit **
   8  Prefactor     .10000E-03    6.0590       -.43154E-05** at limit **
   9  Prefactor     122.98        101.25        .23500E-04   -.25232E-04
  10  Prefactor     11.950        31.215        .47419E-04    .23416E-04
  11  norm          .10002E-03    17.362       -.26460E-05** at limit **
  12  Prefactor     33.438        24.791        .16764E-05   -.30901E-04
  13  Prefactor     9.4278        26.090       -.29173E-04   -.75353E-04
  14  Prefactor     .10000E-03    5.9352        .43649E-05** at limit **
  15  Prefactor     .10000E-03    11.902        .20964E-05** at limit **
  16  Prefactor     .10000E-03    77.517        .10396E-04** at limit **
  17  norm          .39500        .20615        .24796E-06    .10824E-02
  18  norm          .65346        2.3080       -.67110E-08   -.71657E-03
  19  norm          4.6279        5.1202        .25277E-06    .81740E-04
  20  norm          1.7946        3.7321        .17878E-06   -.53287E-03
  21  Prefactor     16.229        39.570       -.11311E-04   -.10357E-04
  22  Normalizat    1.0695        .22075       -.36433E-05    .41104E-04
  23  Prefactor     .95729        .12931       -.66953E-06   -.71582E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.11625
  Prefactor  = 0.0001
  norm       = 75.2953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 122.978
  Prefactor  = 11.95
  norm       = 0.000100016
  Prefactor  = 33.4381
  Prefactor  = 9.42782
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.395004
  norm       = 0.653459
  norm       = 4.6279
  norm       = 1.79464
  Prefactor  = 16.2287
  Normalizat = 1.06951
  Prefactor  = 0.957293
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.585     FROM HESSE     STATUS=OK           372 CALLS     2899 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7900        .15100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.0210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.9231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1163        9.1730        .22965E-03   -1.5355    
   5  Prefactor     .10000E-03    12.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          75.295        41.352        .46275E-04   -1.3970    
   7  Prefactor     .10000E-03    5.1992        .17577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.1649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     122.98        101.41        .18149E-03   -1.3485    
  10  Prefactor     11.950        31.174        .11605E-03   -1.5016    
  11  norm          .10002E-03    17.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.438        24.798        .69299E-04   -1.4551    
  13  Prefactor     9.4278        26.168        .13033E-03   -1.5094    
  14  Prefactor     .10000E-03    5.9458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    78.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .39500        .20438        .24294E-04   -1.5582    
  18  norm          .65346        3.0036        .19771E-02   -1.5546    
  19  norm          4.6279        5.1215        .18422E-03   -1.5278    
  20  norm          1.7946        3.6524        .20559E-03   -1.5440    
  21  Prefactor     16.229        39.560        .99398E-04   -1.4902    
  22  Normalizat    1.0695        .26225        .30647E-03   -.90737    
  23  Prefactor     .95729        .15458        .19462E-03   -.94167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66166e-09
Minuit parameter uncertainties:
  1  1.87153e-06
  2  2.9252e-06
  3  1.00167e-05
  4  9.17709
  5  6.02757e-05
  6  41.3677
  7  3.42371e-05
  8  6.11079e-05
  9  101.556
  10  31.2164
  11  0.00105945
  12  24.8059
  13  26.1995
  14  2.19053e-05
  15  1.08926e-05
  16  0.000177503
  17  0.204385
  18  2.80196
  19  5.12203
  20  3.6529
  21  39.624
  22  0.26257
  23  0.154651
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.195e+01  3.122e+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.573e-01  1.547e-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.070e+00  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/698436/likelihoodResults_358300801_358560001_4FGL_J1440.9+0609_daily_bin459.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): 102
logL (Free Index) = 6312.49827228
delta logL = 0.0868904883391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6312.40604389
delta logL = 0.179118880058

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18383E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    5.6576       1.0000          .0000       10.000    
     3 'Normalizat'    1.0016       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98766       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=   6312.406     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      418 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19441E-02    .30141E-01    .10152E-02** at limit **
   2  Index         5.6398        1.4674        .11875       -.37052E-05
   3  Normalizat    1.0020        .32067E-01    .71296E-01    .14446E-05
   4  Prefactor     .98737        .19483E-01    .46113E-01   -.99502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00194408
  Index      = 5.63978
  Normalizat = 1.00198
  Prefactor  = 0.987373
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.406     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      449 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19441E-02    .18346        .47309E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.6398        7.5303        .40931E-02    .12831    
   3  Normalizat    1.0020        .20101        .31543E-03   -.92964    
   4  Prefactor     .98737        .11831        .19200E-03   -.93152    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.89259e-09
Minuit parameter uncertainties:
  1  0.0367866
  2  6.01508
  3  0.201163
  4  0.11834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698436': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6312.40603567
delta logL = 0.179127100084

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.944e-03  3.679e-02  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  5.640e+00  6.015e+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.874e-01  1.183e-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.002e+00  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 220.242 6.163

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/698436/cmap_HighResolution_358300801_358560001_4FGL_J1440.9+0609_daily_bin459.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.55e-03', job_status='DONE', photon_flux_upper_limit='9.97e-08', time_completed='2021-09-10 05:09:43.810907', job_id='698436', GAL2='0.99', fit_tolerance='1e-08', EG2='1.00', EG='1.07', time_epoch_completed='1631275783.81', return_code2='102', ts='0.18', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.79e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='459' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:09:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 698436: <4FGL_J1440.9+0609_daily_bin459> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin459 220.242 6.1631 358300801 358560001 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 :                                   607.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             250.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            812 sec.

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

