/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 234 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 = 7254
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin263
RA = 220.242, Dec = 6.1631
tmin = 307497601, tmax = 307756801
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='697130', job_status='RUN', time_executed='2021-09-10 04:55:42.069200', time_epoch_executed='1631274942.07' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='263'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697130

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697130/ft1_4FGL_J1440.9+0609_daily_bin263.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697130/ft2_4FGL_J1440.9+0609_daily_bin263.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697130/ft1_4FGL_J1440.9+0609_daily_bin263.fits outfile=/scratch/kocevski/697130/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin263.fits ra=220.242 dec=6.1631 rad=12.0 tmin=307497601.0 tmax=307756801.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.39
user 3.16
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697130/ft1_filtered_4FGL_J1440.9+0609_daily_bin263.fits" evtable="EVENTS" scfile=/scratch/kocevski/697130/ft2_4FGL_J1440.9+0609_daily_bin263.fits sctable="SC_DATA" outfile=/scratch/kocevski/697130/ltcube_307497601_307756801_4FGL_J1440.9+0609_daily_bin263.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/697130/ft2_4FGL_J1440.9+0609_daily_bin263.fits
.....................!
real 11.69
user 11.37
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697130/ft1_filtered_4FGL_J1440.9+0609_daily_bin263.fits evtable="EVENTS" scfile=/scratch/kocevski/697130/ft2_4FGL_J1440.9+0609_daily_bin263.fits sctable="SC_DATA" expcube=/scratch/kocevski/697130/ltcube_307497601_307756801_4FGL_J1440.9+0609_daily_bin263.fits outfile=/scratch/kocevski/697130/expmap_307497601_307756801_4FGL_J1440.9+0609_daily_bin263.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/697130/ltcube_307497601_307756801_4FGL_J1440.9+0609_daily_bin263.fits
.....................!
real 191.37
user 186.72
sys 4.27

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/697130/ft1_filtered_4FGL_J1440.9+0609_daily_bin263.fits scfile=/scratch/kocevski/697130/ft2_4FGL_J1440.9+0609_daily_bin263.fits outfile=/scratch/kocevski/697130/cmap_307497601_307756801_4FGL_J1440.9+0609_daily_bin263.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697130/ft1_filtered_4FGL_J1440.9+0609_daily_bin263.fits scfile=/scratch/kocevski/697130/ft2_4FGL_J1440.9+0609_daily_bin263.fits outfile=/scratch/kocevski/697130/cmap_HighResolution_307497601_307756801_4FGL_J1440.9+0609_daily_bin263.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.426       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.098       1.0000         .10000E-03   10000.    
     4 'norm      '    20.801       1.0000         .10000E-03   10000.    
     5 'Prefactor '    49.338       1.0000         .10000E-03   10000.    
     6 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4232       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11099E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.457       1.0000         .10000E-03   10000.    
    11 'norm      '    1.6458       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10604E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.6139       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7185       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.427       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10984E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .44315       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1417       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.0886       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2855       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0054       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=   7414.291     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2594 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.448        18.875       -.54584E-06   -.38851E-04
   2  Prefactor     .10000E-03    24.828        .12159E-05** at limit **
   3  Prefactor     38.149        36.128       -.13583E-05   -.30592E-04
   4  norm          20.793        12.371       -.50651E-07   -.58789E-05
   5  Prefactor     49.359        31.669       -.10610E-05   -.36410E-04
   6  norm          .10000E-03    12.322       -.13899E-06** at limit **
   7  Prefactor     .10000E-03    4.1308       -.10320E-06** at limit **
   8  Prefactor     1.4269        7.3416        .18932E-05   -.48697E-04
   9  Prefactor     .10000E-03    21.942       -.13555E-05** at limit **
  10  Prefactor     47.575        40.416       -.15430E-05    .76110E-05
  11  norm          1.5570        66.502        .88412E-06   -.15189E-04
  12  Prefactor     .10000E-03    11.859        .20587E-07** at limit **
  13  Prefactor     5.6046        34.384        .13748E-05    .11106E-04
  14  Prefactor     8.7306        15.060        .41997E-06    .40815E-05
  15  Prefactor     19.444        29.827       -.93239E-06   -.16816E-04
  16  Prefactor     .10000E-03    58.601        .42841E-06** at limit **
  17  norm          .44315        .22356        .36896E-08   -.23467E-03
  18  norm          2.1420        2.9584        .24685E-06   -.56808E-04
  19  norm          .10000E-03    2.6111        .15835E-07** at limit **
  20  norm          5.0884        4.6659       -.24925E-08   -.31074E-04
  21  Prefactor     .10000E-03    18.581        .43171E-06** at limit **
  22  Normalizat    1.2851        .24745        .53608E-06   -.65074E-04
  23  Prefactor     1.0056        .13613       -.45067E-06    .30532E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.4484
  Prefactor  = 0.0001
  Prefactor  = 38.1491
  norm       = 20.7928
  Prefactor  = 49.359
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.42686
  Prefactor  = 0.0001
  Prefactor  = 47.5753
  norm       = 1.55702
  Prefactor  = 0.0001
  Prefactor  = 5.6046
  Prefactor  = 8.73058
  Prefactor  = 19.4443
  Prefactor  = 0.0001
  norm       = 0.443151
  norm       = 2.14202
  norm       = 0.0001
  norm       = 5.08838
  Prefactor  = 0.0001
  Normalizat = 1.28505
  Prefactor  = 1.00559
 **********
 **   18 **HESSE 
 **********

 FCN=   7414.291     FROM HESSE     STATUS=OK           374 CALLS     2968 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.448        18.994        .82759E-04   -1.4739    
   2  Prefactor     .10000E-03    25.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.149        36.317        .64935E-04   -1.4472    
   4  norm          20.793        12.375        .87820E-04   -1.4796    
   5  Prefactor     49.359        31.911        .57091E-04   -1.4302    
   6  norm          .10000E-03    12.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1443        .17084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4269        7.6069        .36249E-03   -1.5469    
   9  Prefactor     .10000E-03    22.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.575        39.551        .58206E-04   -1.4327    
  11  norm          1.5570        67.851        .32923E-03   -1.5458    
  12  Prefactor     .10000E-03    11.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.6046        34.843        .16955E-03   -1.5234    
  14  Prefactor     8.7306        15.064        .13575E-03   -1.5117    
  15  Prefactor     19.444        29.892        .90870E-04   -1.4826    
  16  Prefactor     .10000E-03    58.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .44315        .21890        .26898E-04   -1.5575    
  18  norm          2.1420        2.9460        .15759E-03   -1.5415    
  19  norm          .10000E-03    2.6149        .13588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.0884        4.6502        .16624E-03   -1.5257    
  21  Prefactor     .10000E-03    18.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2851        .29952        .32132E-03   -.84014    
  23  Prefactor     1.0056        .16420        .21265E-03   -.92543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43239e-11
Minuit parameter uncertainties:
  1  18.9987
  2  7.28361e-05
  3  36.3384
  4  12.3762
  5  31.9216
  6  1.14067e-05
  7  2.61148e-06
  8  6.59016
  9  4.0242e-05
  10  39.5723
  11  20.581
  12  2.25782e-06
  13  27.9726
  14  15.0701
  15  29.9152
  16  6.34402e-05
  17  0.218896
  18  2.94621
  19  1.9623e-07
  20  4.6505
  21  8.72583e-06
  22  0.299923
  23  0.164283
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  4.758e+01  3.957e+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.006e+00  1.643e-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.285e+00  2.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.22
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 5.04e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 2.20e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7413.70846319
delta logL = 0.582627389585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7413.70665327
delta logL = 0.584437312811

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    77.536       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6579       1.0000          .0000       10.000    
     3 'Normalizat'    1.3061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99963       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=   7413.707     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      307 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     77.550        54.269        .22802E-03    .51353E-05
   2  Index         1.6578        .41659        .76957E-02    .27065E-03
   3  Normalizat    1.3059        .26812        .31909E-03   -.90497E-05
   4  Prefactor     .99970        .16022        .21321E-03    .71985E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 77.5497
  Index      = 1.65781
  Normalizat = 1.30593
  Prefactor  = 0.999705
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     77.550        53.854        .91209E-05   -1.3944    
   2  Index         1.6578        .41342        .15391E-02   -.73211    
   3  Normalizat    1.3059        .26839        .12763E-04   -.83390    
   4  Prefactor     .99970        .16040        .85283E-05   -.92739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34982e-12
Minuit parameter uncertainties:
  1  53.8875
  2  0.41428
  3  0.268679
  4  0.160478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697130': 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) = 7413.7066531
delta logL = 0.584437487334

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  7.755e+01  5.389e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.658e+00  4.143e-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.997e-01  1.605e-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.306e+00  2.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.39
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.66 +/- 0.41
Photon Flux (Free Index): 2.95e-08 +/- 2.68e-08
Energy Flux (Free Index): 5.53e-05 +/- 5.53e-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/697130/cmap_HighResolution_307497601_307756801_4FGL_J1440.9+0609_daily_bin263.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.04e-08', energy_flux2='5.53e-05', photon_flux_error='4.19e-08', dlogl='5.84e-01', energy_flux='2.65e-05', photon_flux2='2.95e-08', job_status='DONE', time_completed='2021-09-10 05:05:26.535555', photon_index_error2='0.41', photon_index2='1.66', ts='7.22', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='5.53e-05', EG='1.29', time_epoch_completed='1631275526.54', return_code='0', job_id='697130', GAL2='1.00', EG2='1.31', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='2.68e-08', ts2='8.39', photon_index='2.12' WHERE bin_id='263' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:05:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 697130: <4FGL_J1440.9+0609_daily_bin263> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin263 220.242 6.1631 307497601 307756801 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 :                                   583.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            830 sec.

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

