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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin875
RA = 220.242, Dec = 6.1631
tmin = 466128001, tmax = 466387201
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='700115', job_status='RUN', time_executed='2021-09-10 05:01:41.282675', time_epoch_executed='1631275301.28' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='875'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700115

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700115/ft1_4FGL_J1440.9+0609_daily_bin875.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700115/ft2_4FGL_J1440.9+0609_daily_bin875.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700115/ft1_4FGL_J1440.9+0609_daily_bin875.fits outfile=/scratch/kocevski/700115/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin875.fits ra=220.242 dec=6.1631 rad=12.0 tmin=466128001.0 tmax=466387201.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.65
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700115/ft1_filtered_4FGL_J1440.9+0609_daily_bin875.fits" evtable="EVENTS" scfile=/scratch/kocevski/700115/ft2_4FGL_J1440.9+0609_daily_bin875.fits sctable="SC_DATA" outfile=/scratch/kocevski/700115/ltcube_466128001_466387201_4FGL_J1440.9+0609_daily_bin875.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/700115/ft2_4FGL_J1440.9+0609_daily_bin875.fits
.....................!
real 11.97
user 11.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700115/ft1_filtered_4FGL_J1440.9+0609_daily_bin875.fits evtable="EVENTS" scfile=/scratch/kocevski/700115/ft2_4FGL_J1440.9+0609_daily_bin875.fits sctable="SC_DATA" expcube=/scratch/kocevski/700115/ltcube_466128001_466387201_4FGL_J1440.9+0609_daily_bin875.fits outfile=/scratch/kocevski/700115/expmap_466128001_466387201_4FGL_J1440.9+0609_daily_bin875.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/700115/ltcube_466128001_466387201_4FGL_J1440.9+0609_daily_bin875.fits
.....................!
real 192.02
user 185.39
sys 5.14

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/700115/ft1_filtered_4FGL_J1440.9+0609_daily_bin875.fits scfile=/scratch/kocevski/700115/ft2_4FGL_J1440.9+0609_daily_bin875.fits outfile=/scratch/kocevski/700115/cmap_466128001_466387201_4FGL_J1440.9+0609_daily_bin875.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700115/ft1_filtered_4FGL_J1440.9+0609_daily_bin875.fits scfile=/scratch/kocevski/700115/ft2_4FGL_J1440.9+0609_daily_bin875.fits outfile=/scratch/kocevski/700115/cmap_HighResolution_466128001_466387201_4FGL_J1440.9+0609_daily_bin875.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=220.242 yref=6.1631 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.8829       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.2242       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    18.185       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.758       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8259       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8018       1.0000         .10000E-03   10000.    
    10 'Prefactor '    56.803       1.0000         .10000E-03   10000.    
    11 'norm      '    .11432E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28215       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10678E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.276       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6295       1.0000         .10000E-03   10000.    
    18 'norm      '    8.2834       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .22265E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1257       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93232       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=   7313.527     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2631 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1024        .64567E-07** at limit **
   2  Prefactor     3.8781        32.508        .58341E-06    .11980E-05
   3  Prefactor     .10000E-03    7.6788        .15787E-06** at limit **
   4  norm          6.2245        10.140        .14573E-06    .36266E-05
   5  Prefactor     .10000E-03    15.863       -.27491E-06** at limit **
   6  norm          18.197        26.222       -.53520E-07   -.21720E-04
   7  Prefactor     16.766        10.691       -.13808E-05   -.28024E-03
   8  Prefactor     1.8198        9.3028        .44985E-05    .69808E-04
   9  Prefactor     7.6080        153.19       -.24185E-05   -.25425E-04
  10  Prefactor     56.882        46.081        .58559E-06    .17597E-04
  11  norm          .10000E-03    39.300       -.32321E-05** at limit **
  12  Prefactor     .17915        24.405        .33109E-05   -.37022E-03
  13  Prefactor     .10000E-03    8.5392       -.11794E-07** at limit **
  14  Prefactor     .10000E-03    15.352        .67461E-06** at limit **
  15  Prefactor     .10000E-03    53.160        .23473E-05** at limit **
  16  Prefactor     24.279        60.746       -.21768E-05   -.64852E-04
  17  norm          2.6295        .34440       -.42508E-08   -.98980E-03
  18  norm          8.2819        3.1790        .51255E-07   -.44004E-04
  19  norm          .10000E-03    1.7437        .12839E-07** at limit **
  20  norm          .10000E-03    1.6954        .93042E-07** at limit **
  21  Prefactor     .10000E-03    73.104        .86983E-06** at limit **
  22  Normalizat    1.1255        .23437        .77209E-07   -.24688E-03
  23  Prefactor     .93245        .13108       -.78307E-06   -.29519E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.87813
  Prefactor  = 0.0001
  norm       = 6.22455
  Prefactor  = 0.0001
  norm       = 18.1965
  Prefactor  = 16.7656
  Prefactor  = 1.81977
  Prefactor  = 7.60796
  Prefactor  = 56.8822
  norm       = 0.0001
  Prefactor  = 0.179153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.2792
  norm       = 2.62949
  norm       = 8.28186
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12548
  Prefactor  = 0.932446
 **********
 **   18 **HESSE 
 **********

 FCN=   7313.527     FROM HESSE     STATUS=OK           376 CALLS     3007 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.8781        32.753        .20477E-03   -1.5314    
   3  Prefactor     .10000E-03    7.6818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.2245        10.134        .16091E-03   -1.5209    
   5  Prefactor     .10000E-03    15.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          18.197        26.227        .93920E-04   -1.4855    
   7  Prefactor     16.766        10.706        .97839E-04   -1.4889    
   8  Prefactor     1.8198        9.4763        .30893E-03   -1.5438    
   9  Prefactor     7.6080        153.51        .14356E-03   -1.5156    
  10  Prefactor     56.882        46.193        .53226E-04   -1.4198    
  11  norm          .10000E-03    39.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17915        25.017        .11697       -1.5623    
  13  Prefactor     .10000E-03    8.5452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    53.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.279        60.662        .81300E-04   -1.4722    
  17  norm          2.6295        .34524        .17340E-04   -1.5384    
  18  norm          8.2819        3.1793        .89101E-04   -1.5132    
  19  norm          .10000E-03    1.7440        .11029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.7265        .10869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    73.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1255        .27970        .33441E-03   -.88938    
  23  Prefactor     .93245        .15505        .21550E-03   -.95016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84519e-10
Minuit parameter uncertainties:
  1  2.76822e-06
  2  22.5569
  3  6.45742e-06
  4  10.137
  5  1.19701e-07
  6  26.2437
  7  10.707
  8  8.30718
  9  68.5517
  10  46.2219
  11  0.00019195
  12  4.23475
  13  1.76404e-06
  14  1.94682e-05
  15  0.00011484
  16  60.8163
  17  0.345238
  18  3.17933
  19  3.90608e-07
  20  2.37417e-06
  21  0.000156373
  22  0.280067
  23  0.155119
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  5.688e+01  4.622e+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.324e-01  1.551e-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.125e+00  2.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.11
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 6.03e-08 +/- 4.89e-08
Energy Flux (Fixed Index): 3.17e-05 +/- 2.57e-05

TS (Fixed Index): 2.11
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700115/likelihoodResults_466128001_466387201_4FGL_J1440.9+0609_daily_bin875.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) = 7311.77768085
delta logL = 1.74909779239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7311.72674842
delta logL = 1.80003022629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69656       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0781       1.0000          .0000       10.000    
     3 'Normalizat'    .95890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0033       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=   7311.727     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      330 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69548        4.2200        .73699E-02    .15840E-02
   2  Index         4.0791        1.4535        .59864E-01    .38580E-03
   3  Normalizat    .95887        .69887E-01    .80949E-01   -.12164E-03
   4  Prefactor     1.0033        .41015E-01    .44586E-01   -.32250E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.695484
  Index      = 4.07907
  Normalizat = 0.958866
  Prefactor  = 1.00332
 **********
 **   18 **HESSE 
 **********

 FCN=   7311.727     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      361 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69548        7.6274        .33099E-04   -1.5541    
   2  Index         4.0791        2.1625        .24163E-02   -.18524    
   3  Normalizat    .95887        .24404        .35833E-03   -.94421    
   4  Prefactor     1.0033        .14231        .20858E-03   -.92619    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.91845e-10
Minuit parameter uncertainties:
  1  4.6068
  2  2.23913
  3  0.244328
  4  0.142363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700115': 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) = 7311.72674444
delta logL = 1.80003420862

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  6.955e-01  4.607e+00  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  4.079e+00  2.239e+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.003e+00  1.424e-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.589e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.23
Ra Dec: 220.242 6.163
Photon Index (Free Index): 4.08 +/- 2.24
Photon Flux (Free Index): 1.86e-07 +/- 9.43e-08
Energy Flux (Free Index): 2.75e-05 +/- 1.46e-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/700115/cmap_HighResolution_466128001_466387201_4FGL_J1440.9+0609_daily_bin875.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', comment='SUCCESS', photon_flux='6.03e-08', energy_flux2='2.75e-05', photon_flux_error='4.89e-08', dlogl='1.80e+00', energy_flux='3.17e-05', photon_flux2='1.86e-07', job_status='DONE', time_completed='2021-09-10 05:12:34.881504', photon_index_error2='2.24', photon_index2='4.08', ts='2.11', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.59e-07', energy_flux_error2='1.46e-05', EG='1.13', time_epoch_completed='1631275954.88', return_code='0', job_id='700115', GAL2='1.00', EG2='0.96', return_code2='102', energy_flux_error='2.57e-05', photon_flux_error2='9.43e-08', ts2='6.23', photon_index='2.12' WHERE bin_id='875' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:12:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 700115: <4FGL_J1440.9+0609_daily_bin875> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin875 220.242 6.1631 466128001 466387201 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 :                                   649.05 sec.
    Max Memory :                                 1231 MB
    Average Memory :                             378.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            675 sec.

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

