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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin443
RA = 220.242, Dec = 6.1631
tmin = 354153601, tmax = 354412801
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='698409', job_status='RUN', time_executed='2021-09-10 04:58:53.749756', time_epoch_executed='1631275133.75' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='443'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698409

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698409/ft1_4FGL_J1440.9+0609_daily_bin443.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698409/ft2_4FGL_J1440.9+0609_daily_bin443.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698409/ft1_4FGL_J1440.9+0609_daily_bin443.fits outfile=/scratch/kocevski/698409/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin443.fits ra=220.242 dec=6.1631 rad=12.0 tmin=354153601.0 tmax=354412801.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.95
user 3.71
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698409/ft2_4FGL_J1440.9+0609_daily_bin443.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/698409/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin443.fits evtable="EVENTS" outfile="/scratch/kocevski/698409/ft1_filtered_4FGL_J1440.9+0609_daily_bin443.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698409/ft1_filtered_4FGL_J1440.9+0609_daily_bin443.fits evtable="EVENTS" scfile=/scratch/kocevski/698409/ft2_4FGL_J1440.9+0609_daily_bin443.fits sctable="SC_DATA" expcube=/scratch/kocevski/698409/ltcube_354153601_354412801_4FGL_J1440.9+0609_daily_bin443.fits outfile=/scratch/kocevski/698409/expmap_354153601_354412801_4FGL_J1440.9+0609_daily_bin443.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/698409/ltcube_354153601_354412801_4FGL_J1440.9+0609_daily_bin443.fits
.....................!
real 190.94
user 185.21
sys 5.13

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/698409/ft1_filtered_4FGL_J1440.9+0609_daily_bin443.fits scfile=/scratch/kocevski/698409/ft2_4FGL_J1440.9+0609_daily_bin443.fits outfile=/scratch/kocevski/698409/cmap_354153601_354412801_4FGL_J1440.9+0609_daily_bin443.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698409/ft1_filtered_4FGL_J1440.9+0609_daily_bin443.fits scfile=/scratch/kocevski/698409/ft2_4FGL_J1440.9+0609_daily_bin443.fits outfile=/scratch/kocevski/698409/cmap_HighResolution_354153601_354412801_4FGL_J1440.9+0609_daily_bin443.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.037       1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.579       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.394       1.0000         .10000E-03   10000.    
     6 'norm      '    .10356E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8008       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.012       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.010       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12894E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .30223E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    5.8086       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0555       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0040       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=   5963.604     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2599 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.036        16.601        .26726E-02   -.73287E-04
   2  Prefactor     28.578        23.757        .18736E-02   -.18944E-03
   3  Prefactor     .10000E-03    33.898        .90712E-02** at limit **
   4  norm          .10000E-03    2.8142        .90712E-02** at limit **
   5  Prefactor     22.375        30.132        .21161E-02    .94887E-03
   6  norm          .10000E-03    12.968        .90712E-02** at limit **
   7  Prefactor     .10000E-03    8.8249        .90712E-02** at limit **
   8  Prefactor     8.7965        7.5613        .33778E-02    .27459E-02
   9  Prefactor     15.007        38.479        .25843E-02    .54531E-03
  10  Prefactor     .10006E-03    44.134        .90712E-02** at limit **
  11  norm          .10001E-03    12.568        .90712E-02** at limit **
  12  Prefactor     .10000E-03    7.4150        .90712E-02** at limit **
  13  Prefactor     14.004        27.066        .26752E-02    .26633E-03
  14  Prefactor     .10000E-03    9.7314        .90712E-02** at limit **
  15  Prefactor     .10000E-03    12.878        .90712E-02** at limit **
  16  Prefactor     .10001E-03    152.83        .90712E-02** at limit **
  17  norm          .10000E-03    .51087E-01    .83279E-02** at limit **
  18  norm          .10025E-03    .84222        .56568E-01** at limit **
  19  norm          5.8088        5.4245        .41660E-02   -.12290E-02
  20  norm          .10000E-03    1.2736        .90712E-02** at limit **
  21  Prefactor     .10000E-03    14.453        .90712E-02** at limit **
  22  Normalizat    1.0555        .21984        .67218E-01    .18115E-04
  23  Prefactor     1.0041        .12829        .44414E-01   -.17213E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0362
  Prefactor  = 28.5775
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.3753
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 8.79651
  Prefactor  = 15.0075
  Prefactor  = 0.000100061
  norm       = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 14.0038
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 0.000100248
  norm       = 5.80875
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05553
  Prefactor  = 1.00407
 **********
 **   18 **HESSE 
 **********

 FCN=   5963.604     FROM HESSE     STATUS=OK           368 CALLS     2967 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.036        16.606        .10691E-03   -1.4958    
   2  Prefactor     28.578        23.751        .74942E-04   -1.4638    
   3  Prefactor     .10000E-03    34.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.8143        .12652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.375        30.315        .84642E-04   -1.4762    
   6  norm          .10000E-03    12.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.9741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.7965        7.5820        .67556E-03   -1.5115    
   9  Prefactor     15.007        38.484        .10337E-03   -1.4933    
  10  Prefactor     .10006E-03    45.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    12.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.4193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.004        27.256        .10701E-03   -1.4959    
  14  Prefactor     .10000E-03    9.8032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    155.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .59677E-01    .33792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10025E-03    2.6921        .24599E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.8088        5.4248        .83320E-03   -1.5226    
  20  norm          .10000E-03    1.2807        .85089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0555        .26472        .29737E-03   -.91193    
  23  Prefactor     1.0041        .15456        .18754E-03   -.92594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.2466e-09
Minuit parameter uncertainties:
  1  16.611
  2  23.7592
  3  0.000245082
  4  8.58854e-06
  5  30.3354
  6  0.000377893
  7  9.86742e-06
  8  7.58285
  9  38.5473
  10  0.00330829
  11  0.000505454
  12  1.34802e-05
  13  27.2805
  14  8.05458e-06
  15  0.000131273
  16  0.0018357
  17  9.60952e-08
  18  0.00163381
  19  5.42521
  20  1.29944e-06
  21  5.12886e-05
  22  0.265053
  23  0.154624
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.001e-04  3.308e-03  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.004e+00  1.546e-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.056e+00  2.651e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/698409/likelihoodResults_354153601_354412801_4FGL_J1440.9+0609_daily_bin443.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5963.6043668
delta logL = -0.000105529605207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5963.60426129
delta logL = -1.52876964421e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11685E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2338       1.0000          .0000       10.000    
     3 'Normalizat'    1.0555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0041       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=   5963.604     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      246 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.1137        .90712E-02** at limit **
   2  Index         2.2656        6.3391        .50000       -.50451E-05
   3  Normalizat    1.0555        .22655E-02    .67218E-01   -.28286E-04
   4  Prefactor     1.0041        .14042E-02    .44398E-01   -.71744E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2656
  Normalizat = 1.05553
  Prefactor  = 1.00407
 **********
 **   18 **HESSE 
 **********

 FCN=   5963.604     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      279 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.883        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2656        6.3428        .50000       -.57863    
   3  Normalizat    1.0555        .47505E-02    .29737E-03   -.91193    
   4  Prefactor     1.0041        .29476E-02    .18754E-03   -.92594    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.42261e-09
Minuit parameter uncertainties:
  1  0.000220154
  2  50.2222
  3  0.0047505
  4  0.00294764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698409': 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) = 5963.60426109
delta logL = 1.85806129593e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  2.202e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.266e+00  5.022e+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.004e+00  2.948e-03  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.056e+00  4.751e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.242 6.163

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', job_status='DONE', photon_flux_upper_limit='6.32e-08', time_completed='2021-09-10 05:08:38.030338', job_id='698409', GAL2='1.00', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631275718.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='443' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:08:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 698409: <4FGL_J1440.9+0609_daily_bin443> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin443> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 04:56:08 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:56:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 04:56:09 2021
Terminated at Fri Sep 10 05:08:38 2021
Results reported at Fri Sep 10 05:08:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin443 220.242 6.1631 354153601 354412801 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 :                                   580.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             308.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            750 sec.

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

