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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin277
RA = 220.242, Dec = 6.1631
tmin = 311126401, tmax = 311385601
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='697154', job_status='RUN', time_executed='2021-09-10 04:55:37.180582', time_epoch_executed='1631274937.18' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697154

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697154/ft1_4FGL_J1440.9+0609_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697154/ft2_4FGL_J1440.9+0609_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697154/ft1_4FGL_J1440.9+0609_daily_bin277.fits outfile=/scratch/kocevski/697154/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin277.fits ra=220.242 dec=6.1631 rad=12.0 tmin=311126401.0 tmax=311385601.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.32
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697154/ft1_filtered_4FGL_J1440.9+0609_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/697154/ft2_4FGL_J1440.9+0609_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/697154/ltcube_311126401_311385601_4FGL_J1440.9+0609_daily_bin277.fits outfile=/scratch/kocevski/697154/expmap_311126401_311385601_4FGL_J1440.9+0609_daily_bin277.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/697154/ltcube_311126401_311385601_4FGL_J1440.9+0609_daily_bin277.fits
.....................!
real 191.38
user 185.91
sys 4.81

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/697154/ft1_filtered_4FGL_J1440.9+0609_daily_bin277.fits scfile=/scratch/kocevski/697154/ft2_4FGL_J1440.9+0609_daily_bin277.fits outfile=/scratch/kocevski/697154/cmap_311126401_311385601_4FGL_J1440.9+0609_daily_bin277.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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697154/ft1_filtered_4FGL_J1440.9+0609_daily_bin277.fits scfile=/scratch/kocevski/697154/ft2_4FGL_J1440.9+0609_daily_bin277.fits outfile=/scratch/kocevski/697154/cmap_HighResolution_311126401_311385601_4FGL_J1440.9+0609_daily_bin277.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.670       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11728E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10587E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.103       1.0000         .10000E-03   10000.    
    11 'norm      '    .96208E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2585       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0213       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .18710       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3373       1.0000         .10000E-03   10000.    
    19 'norm      '    1.4918       1.0000         .10000E-03   10000.    
    20 'norm      '    4.6916       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1002       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8289.905     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     2137 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    5.8920       -.14605E-04** at limit **
   2  Prefactor     24.663        1.1000        .70778E-07   -.40305E-03
   3  Prefactor     .10002E-03    7.7537        .12518E-04** at limit **
   4  norm          .10000E-03    3.6782        .80556E-06** at limit **
   5  Prefactor     .10004E-03    37.842        .76028E-05** at limit **
   6  norm          .10003E-03    7.4026        .11873E-04** at limit **
   7  Prefactor     .10000E-03    2.5450        .52700E-06** at limit **
   8  Prefactor     .10000E-03    5.2675        .10424E-05** at limit **
   9  Prefactor     .11446E-03    60.396       -.17728E-04** at limit **
  10  Prefactor     30.094        1.1387        .63130E-07   -.45671E-03
  11  norm          .11053E-03    54.375        .64637E-06** at limit **
  12  Prefactor     4.2566        1.0215       -.15739E-06    .75960E-04
  13  Prefactor     .10000E-03    5.5662       -.10521E-05** at limit **
  14  Prefactor     .10000E-03    6.1299       -.79979E-05** at limit **
  15  Prefactor     5.0173        1.0385        .19344E-06   -.16778E-03
  16  Prefactor     .10002E-03    7.0620        .13367E-04** at limit **
  17  norm          .18708        .13257       -.53256E-07   -.77222E-03
  18  norm          1.3371        1.5140       -.36969E-06    .19985E-04
  19  norm          1.4918        4.0603       -.41163E-05   -.16554E-03
  20  norm          4.6916        3.4579       -.28176E-06   -.21745E-04
  21  Prefactor     .10000E-03    13.376       -.17430E-04** at limit **
  22  Normalizat    1.1002        .22446       -.18201E-05    .46687E-04
  23  Prefactor     1.1125        .14051        .31276E-05    .66937E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100052
  Prefactor  = 24.6633
  Prefactor  = 0.000100021
  norm       = 0.0001
  Prefactor  = 0.000100036
  norm       = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000114463
  Prefactor  = 30.0939
  norm       = 0.000110533
  Prefactor  = 4.25656
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 5.01728
  Prefactor  = 0.000100023
  norm       = 0.187085
  norm       = 1.33711
  norm       = 1.49182
  norm       = 4.69165
  Prefactor  = 0.000100002
  Normalizat = 1.10019
  Prefactor  = 1.11252
 **********
 **   18 **HESSE 
 **********

 FCN=   8289.905     FROM HESSE     STATUS=OK           418 CALLS     2555 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    9.1630        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.663        20.327        .20162E-02   -1.4714    
   3  Prefactor     .10002E-03    8.6277        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.6724        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10004E-03    37.514        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10003E-03    14.420        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.5340        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.1944        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11446E-03    124.02        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.094        30.748        .18256E-02   -1.4610    
  11  norm          .11053E-03    14.910        .11201       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2566        46.302        .48812E-02   -1.5295    
  13  Prefactor     .10000E-03    5.5635        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.676        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.0173        19.682        .44863E-02   -1.5260    
  16  Prefactor     .10002E-03    11.967        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .18708        .13896        .60937E-02   -1.5621    
  18  norm          1.3371        1.5377        .94818E-02   -1.5477    
  19  norm          1.4918        4.1083        .87735E-02   -1.5464    
  20  norm          4.6916        3.4653        .46447E-02   -1.5275    
  21  Prefactor     .10000E-03    16.287        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1002        .19404        .70679E-01   -.89746    
  23  Prefactor     1.1125        .11955        .37130E-01   -.89067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42258e-07
Minuit parameter uncertainties:
  1  0.00138449
  2  20.3323
  3  0.000841904
  4  8.54044e-07
  5  0.00231031
  6  0.00134721
  7  5.81528e-06
  8  1.44347e-05
  9  0.0848798
  10  30.7646
  11  0.02507
  12  28.1049
  13  3.48138e-05
  14  0.000362736
  15  19.7076
  16  0.0010595
  17  0.138965
  18  1.53777
  19  4.10906
  20  3.46549
  21  0.000382219
  22  0.194162
  23  0.119578
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.009e+01  3.076e+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.113e+00  1.196e-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.100e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.29
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 3.19e-08 +/- 3.26e-08
Energy Flux (Fixed Index): 1.67e-05 +/- 1.71e-05

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

Saving results to:
/scratch/kocevski/697154/likelihoodResults_311126401_311385601_4FGL_J1440.9+0609_daily_bin277.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) = 8289.84925547
delta logL = 0.0559626849335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8289.84234434
delta logL = 0.0628738137166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.159       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9273       1.0000          .0000       10.000    
     3 'Normalizat'    1.1062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1109       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=   8289.842     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      321 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.160        41.059        .64883E-04   -.86207E-04
   2  Index         1.9273        .56095        .80863E-02    .45090E-03
   3  Normalizat    1.1063        .22412        .31198E-03   -.18512E-04
   4  Prefactor     1.1109        .13938        .19292E-03   -.20154E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.1596
  Index      = 1.92726
  Normalizat = 1.10631
  Prefactor  = 1.11088
 **********
 **   18 **HESSE 
 **********

 FCN=   8289.842     FROM HESSE     STATUS=OK            25 CALLS      346 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.160        39.893        .12977E-04   -1.4472    
   2  Index         1.9273        .54511        .16173E-02   -.66181    
   3  Normalizat    1.1063        .22427        .12479E-04   -.89549    
   4  Prefactor     1.1109        .13951        .77169E-05   -.89119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85325e-11
Minuit parameter uncertainties:
  1  39.921
  2  0.546861
  3  0.224459
  4  0.139558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697154': 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) = 8289.84234425
delta logL = 0.0628739050371

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.816e+01  3.992e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.927e+00  5.469e-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.111e+00  1.396e-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.106e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.93 +/- 0.55
Photon Flux (Free Index): 2.56e-08 +/- 3.02e-08
Energy Flux (Free Index): 2.13e-05 +/- 2.49e-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/697154/cmap_HighResolution_311126401_311385601_4FGL_J1440.9+0609_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.58e-03', comment='SUCCESS', photon_flux='3.19e-08', energy_flux2='2.13e-05', photon_flux_error='3.26e-08', dlogl='6.29e-02', energy_flux='1.67e-05', photon_flux2='2.56e-08', job_status='DONE', time_completed='2021-09-10 05:06:33.799265', photon_index_error2='0.55', photon_index2='1.93', ts='2.29', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='2.49e-05', EG='1.10', time_epoch_completed='1631275593.8', return_code='0', job_id='697154', GAL2='1.11', EG2='1.11', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='3.02e-08', ts2='2.41', photon_index='2.12' WHERE bin_id='277' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:06:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 697154: <4FGL_J1440.9+0609_daily_bin277> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin277 220.242 6.1631 311126401 311385601 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 :                                   655.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             277.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            895 sec.

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

