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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin397
RA = 220.242, Dec = 6.1631
tmin = 342230401, tmax = 342489601
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='697347', job_status='RUN', time_executed='2021-09-10 04:54:47.061171', time_epoch_executed='1631274887.06' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='397'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697347

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697347/ft1_4FGL_J1440.9+0609_daily_bin397.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697347/ft2_4FGL_J1440.9+0609_daily_bin397.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697347/ft1_4FGL_J1440.9+0609_daily_bin397.fits outfile=/scratch/kocevski/697347/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin397.fits ra=220.242 dec=6.1631 rad=12.0 tmin=342230401.0 tmax=342489601.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.54
user 3.29
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697347/ft1_filtered_4FGL_J1440.9+0609_daily_bin397.fits" evtable="EVENTS" scfile=/scratch/kocevski/697347/ft2_4FGL_J1440.9+0609_daily_bin397.fits sctable="SC_DATA" outfile=/scratch/kocevski/697347/ltcube_342230401_342489601_4FGL_J1440.9+0609_daily_bin397.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/697347/ft2_4FGL_J1440.9+0609_daily_bin397.fits
.....................!
real 11.76
user 11.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697347/ft1_filtered_4FGL_J1440.9+0609_daily_bin397.fits evtable="EVENTS" scfile=/scratch/kocevski/697347/ft2_4FGL_J1440.9+0609_daily_bin397.fits sctable="SC_DATA" expcube=/scratch/kocevski/697347/ltcube_342230401_342489601_4FGL_J1440.9+0609_daily_bin397.fits outfile=/scratch/kocevski/697347/expmap_342230401_342489601_4FGL_J1440.9+0609_daily_bin397.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/697347/ltcube_342230401_342489601_4FGL_J1440.9+0609_daily_bin397.fits
.....................!
real 192.69
user 187.22
sys 5.12

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/697347/ft1_filtered_4FGL_J1440.9+0609_daily_bin397.fits scfile=/scratch/kocevski/697347/ft2_4FGL_J1440.9+0609_daily_bin397.fits outfile=/scratch/kocevski/697347/cmap_342230401_342489601_4FGL_J1440.9+0609_daily_bin397.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697347/ft1_filtered_4FGL_J1440.9+0609_daily_bin397.fits scfile=/scratch/kocevski/697347/ft2_4FGL_J1440.9+0609_daily_bin397.fits outfile=/scratch/kocevski/697347/cmap_HighResolution_342230401_342489601_4FGL_J1440.9+0609_daily_bin397.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/697347/ft1_filtered_4FGL_J1440.9+0609_daily_bin397.fits evtable="EVENTS" scfile=/scratch/kocevski/697347/ft2_4FGL_J1440.9+0609_daily_bin397.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/697347/Model_4FGL_J1440.9+0609_daily_bin397.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/697347/ft1_filtered_4FGL_J1440.9+0609_daily_bin397.fits.....................!
real 60.81
user 59.43
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.1848       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.099       1.0000         .10000E-03   10000.    
     6 'norm      '    15.640       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0871       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2511       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.361       1.0000         .10000E-03   10000.    
    11 'norm      '    .10496E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    57.621       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.961       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .77561       1.0000         .10000E-03   10000.    
    18 'norm      '    8.8938       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89715       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2630       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=   7873.430     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2565 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.686        .75028E-06** at limit **
   2  Prefactor     .10000E-03    5.9240       -.16904E-07** at limit **
   3  Prefactor     .10001E-03    89.667       -.32253E-04** at limit **
   4  norm          9.1848        8.6233        .61286E-07    .13422E-04
   5  Prefactor     15.100        16.574       -.46424E-07    .20945E-04
   6  norm          15.641        15.609       -.21212E-07    .16765E-04
   7  Prefactor     2.0795        7.4005       -.58251E-05   -.32140E-03
   8  Prefactor     4.2543        7.6806       -.19306E-05   -.11235E-03
   9  Prefactor     .10000E-03    49.170        .41609E-04** at limit **
  10  Prefactor     23.363        27.481        .29637E-05    .47726E-03
  11  norm          .10000E-03    30.742       -.28577E-04** at limit **
  12  Prefactor     .10000E-03    20.009        .16882E-04** at limit **
  13  Prefactor     .10000E-03    16.153       -.19614E-05** at limit **
  14  Prefactor     57.623        23.019        .18267E-06    .22039E-05
  15  Prefactor     13.962        16.193       -.23624E-06   -.26070E-04
  16  Prefactor     .10000E-03    15.947       -.52851E-05** at limit **
  17  norm          .77564        .23981       -.19780E-07    .17073E-03
  18  norm          8.8941        3.5891       -.17981E-06   -.97546E-04
  19  norm          .10000E-03    3.8307       -.45507E-07** at limit **
  20  norm          .10000E-03    1.8465        .64684E-08** at limit **
  21  Prefactor     .10000E-03    23.433       -.18303E-05** at limit **
  22  Normalizat    .89707        .24438        .97420E-06    .18217E-03
  23  Prefactor     1.2630        .14420        .27586E-06    .31240E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 9.1848
  Prefactor  = 15.0995
  norm       = 15.6407
  Prefactor  = 2.07953
  Prefactor  = 4.25428
  Prefactor  = 0.0001
  Prefactor  = 23.3628
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.6234
  Prefactor  = 13.9619
  Prefactor  = 0.0001
  norm       = 0.775636
  norm       = 8.89412
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.897068
  Prefactor  = 1.26304
 **********
 **   18 **HESSE 
 **********

 FCN=   7873.430     FROM HESSE     STATUS=OK           364 CALLS     2929 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.9308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    90.908        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.1848        8.6265        .13224E-03   -1.5102    
   5  Prefactor     15.100        16.586        .10307E-03   -1.4931    
   6  norm          15.641        15.610        .10127E-03   -1.4917    
   7  Prefactor     2.0795        7.3748        .28579E-03   -1.5420    
   8  Prefactor     4.2543        7.6086        .19542E-03   -1.5295    
   9  Prefactor     .10000E-03    48.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.363        27.522        .82876E-04   -1.4741    
  11  norm          .10000E-03    31.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     57.623        23.027        .52850E-04   -1.4188    
  15  Prefactor     13.962        16.190        .10720E-03   -1.4960    
  16  Prefactor     .10000E-03    15.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .77564        .23895        .22932E-04   -1.5532    
  18  norm          8.8941        3.5885        .99272E-04   -1.5111    
  19  norm          .10000E-03    3.8638        .16959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.8567        .11770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    23.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89707        .28057        .38448E-03   -.96563    
  23  Prefactor     1.2630        .16653        .20106E-03   -.84413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14004e-09
Minuit parameter uncertainties:
  1  1.44565e-05
  2  2.72153e-06
  3  0.00161325
  4  8.62768
  5  16.5912
  6  15.6136
  7  7.37801
  8  7.61034
  9  0.000101003
  10  27.537
  11  0.000190168
  12  2.55238e-05
  13  5.77434e-06
  14  23.0307
  15  16.1954
  16  1.68143e-06
  17  0.238955
  18  3.58857
  19  8.11682e-07
  20  5.99972e-07
  21  5.89391e-06
  22  0.28103
  23  0.1666
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.336e+01  2.754e+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.263e+00  1.666e-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:  8.971e-01  2.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.26
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.47e-08 +/- 2.92e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.53e-05

TS (Fixed Index): 1.26
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/697347/likelihoodResults_342230401_342489601_4FGL_J1440.9+0609_daily_bin397.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) = 7873.2600616
delta logL = 0.169513445434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7873.25159273
delta logL = 0.17798232082

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.368       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5917       1.0000          .0000       10.000    
     3 'Normalizat'    .87517       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2699       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=   7873.252     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      279 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.391        270.25        .28476E-02    .23467E-03
   2  Index         2.5903        2.4141        .15245        .20588E-03
   3  Normalizat    .87525        .70117E-01    .87789E-01    .42447E-04
   4  Prefactor     1.2698        .38265E-01    .33156E-01    .24073E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3912
  Index      = 2.59026
  Normalizat = 0.875253
  Prefactor  = 1.2698
 **********
 **   18 **HESSE 
 **********

 FCN=   7873.252     FROM HESSE     STATUS=OK            33 CALLS      312 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.391        28.302        .11390E-03   -1.5004    
   2  Index         2.5903        .98432        .52830E-02   -.50288    
   3  Normalizat    .87525        .27612        .38878E-03   -.97335    
   4  Prefactor     1.2698        .16708        .20058E-03   -.84209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04034e-10
Minuit parameter uncertainties:
  1  28.3324
  2  0.992797
  3  0.276565
  4  0.167151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697347': 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) = 7873.25159045
delta logL = 0.177984601928

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.239e+01  2.833e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.590e+00  9.928e-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:  1.270e+00  1.672e-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:  8.753e-01  2.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 220.242 6.163
Photon Index (Free Index): 2.59 +/- 0.99
Photon Flux (Free Index): 4.44e-08 +/- 5.28e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.23e-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/697347/cmap_HighResolution_342230401_342489601_4FGL_J1440.9+0609_daily_bin397.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.65e-03', comment='SUCCESS', photon_flux='2.47e-08', energy_flux2='1.18e-05', photon_flux_error='2.92e-08', dlogl='1.78e-01', energy_flux='1.30e-05', photon_flux2='4.44e-08', job_status='DONE', time_completed='2021-09-10 05:05:46.393265', photon_index_error2='0.99', photon_index2='2.59', ts='1.26', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.23e-05', EG='0.90', time_epoch_completed='1631275546.39', return_code='0', job_id='697347', GAL2='1.27', EG2='0.88', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='5.28e-08', ts2='1.62', photon_index='2.12' WHERE bin_id='397' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:05:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 697347: <4FGL_J1440.9+0609_daily_bin397> in cluster <slac> Done

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

Your job looked like:

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

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

