/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 170 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 = 7401
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin19
RA = 220.242, Dec = 6.1631
tmin = 244252801, tmax = 244512001
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='695642', job_status='RUN', time_executed='2021-09-10 04:49:36.174579', time_epoch_executed='1631274576.17' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695642

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695642/ft1_4FGL_J1440.9+0609_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695642/ft2_4FGL_J1440.9+0609_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695642/ft1_4FGL_J1440.9+0609_daily_bin19.fits outfile=/scratch/kocevski/695642/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin19.fits ra=220.242 dec=6.1631 rad=12.0 tmin=244252801.0 tmax=244512001.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 2.40
user 2.18
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695642/ft1_filtered_4FGL_J1440.9+0609_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/695642/ft2_4FGL_J1440.9+0609_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/695642/ltcube_244252801_244512001_4FGL_J1440.9+0609_daily_bin19.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/695642/ft2_4FGL_J1440.9+0609_daily_bin19.fits
.....................!
real 12.73
user 12.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695642/ft1_filtered_4FGL_J1440.9+0609_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/695642/ft2_4FGL_J1440.9+0609_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/695642/ltcube_244252801_244512001_4FGL_J1440.9+0609_daily_bin19.fits outfile=/scratch/kocevski/695642/expmap_244252801_244512001_4FGL_J1440.9+0609_daily_bin19.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/695642/ltcube_244252801_244512001_4FGL_J1440.9+0609_daily_bin19.fits
.....................!
real 192.99
user 187.63
sys 4.85

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/695642/ft1_filtered_4FGL_J1440.9+0609_daily_bin19.fits scfile=/scratch/kocevski/695642/ft2_4FGL_J1440.9+0609_daily_bin19.fits outfile=/scratch/kocevski/695642/cmap_244252801_244512001_4FGL_J1440.9+0609_daily_bin19.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.61
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695642/ft1_filtered_4FGL_J1440.9+0609_daily_bin19.fits scfile=/scratch/kocevski/695642/ft2_4FGL_J1440.9+0609_daily_bin19.fits outfile=/scratch/kocevski/695642/cmap_HighResolution_244252801_244512001_4FGL_J1440.9+0609_daily_bin19.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/695642/ft1_filtered_4FGL_J1440.9+0609_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/695642/ft2_4FGL_J1440.9+0609_daily_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695642/Model_4FGL_J1440.9+0609_daily_bin19.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/695642/ft1_filtered_4FGL_J1440.9+0609_daily_bin19.fits.....................!
real 49.85
user 48.49
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10391E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .23671E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .89054       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5277       1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.909       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .14083E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.935       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1492       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .36884E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1707       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2414       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.7015       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1691       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93513       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=   6376.437     FROM MIGRAD    STATUS=CONVERGED    906 CALLS     3323 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.880        .36285E-03** at limit **
   2  Prefactor     .10017E-03    99.968        .51825E-02** at limit **
   3  Prefactor     .10000E-03    12.268        .18142E-02** at limit **
   4  norm          .89001        11.802        .25546E-02   -.98031E-03
   5  Prefactor     .10000E-03    16.518        .18142E-02** at limit **
   6  norm          .10000E-03    7.0426        .18142E-02** at limit **
   7  Prefactor     .10000E-03    2.4315        .12150E-02** at limit **
   8  Prefactor     6.5274        7.9438        .78538E-03   -.11279E-03
   9  Prefactor     46.889        56.297        .58544E-04   -.13205E-05
  10  Prefactor     .10000E-03    30.785        .18142E-02** at limit **
  11  norm          .10000E-03    47.380        .36285E-03** at limit **
  12  Prefactor     .10000E-03    52.256        .18142E-02** at limit **
  13  Prefactor     19.940        30.755        .89707E-04    .75279E-04
  14  Prefactor     5.1433        11.951        .17717E-03    .68405E-04
  15  Prefactor     .10036E-03    223.34        .69901E-02** at limit **
  16  Prefactor     .10000E-03    16.308        .18142E-02** at limit **
  17  norm          1.1706        .26309        .18347E-04    .68844E-03
  18  norm          1.2416        1.4964        .10420E-03    .39276E-05
  19  norm          .10000E-03    2.0187        .11078E-02** at limit **
  20  norm          1.7018        3.3471        .19718E-03   -.62328E-04
  21  Prefactor     .10000E-03    12.495        .18142E-02** at limit **
  22  Normalizat    1.1687        .25925        .29468E-03    .18460E-03
  23  Prefactor     .93531        .15367        .19856E-03    .22052E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100166
  Prefactor  = 0.0001
  norm       = 0.890006
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.52743
  Prefactor  = 46.8886
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.94
  Prefactor  = 5.14326
  Prefactor  = 0.000100356
  Prefactor  = 0.0001
  norm       = 1.17065
  norm       = 1.24164
  norm       = 0.0001
  norm       = 1.70176
  Prefactor  = 0.0001
  Normalizat = 1.1687
  Prefactor  = 0.935308
 **********
 **   18 **HESSE 
 **********

 FCN=   6376.437     FROM HESSE     STATUS=OK           348 CALLS     3671 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.881        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10017E-03    101.65        .10365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.268        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .89001        11.799        .10219E-03   -1.5519    
   5  Prefactor     .10000E-03    16.523        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.0427        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4315        .24300E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.5274        7.9425        .31415E-04   -1.5197    
   9  Prefactor     46.889        56.293        .11709E-04   -1.4337    
  10  Prefactor     .10000E-03    30.793        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    47.382        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    52.280        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.940        30.749        .35883E-05   -1.4815    
  14  Prefactor     5.1433        11.942        .70867E-05   -1.5254    
  15  Prefactor     .10036E-03    233.47        .27960E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.308        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1706        .26308        .73387E-06   -1.5492    
  18  norm          1.2416        1.4963        .41681E-05   -1.5485    
  19  norm          .10000E-03    2.0187        .22156E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.7018        3.3468        .78870E-05   -1.5447    
  21  Prefactor     .10000E-03    12.495        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1687        .25936        .11787E-04   -.87576    
  23  Prefactor     .93531        .15378        .39712E-04   -.94918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27729e-09
Minuit parameter uncertainties:
  1  0.000124834
  2  0.00822789
  3  4.2727e-05
  4  6.48238
  5  9.56896e-07
  6  4.95502e-06
  7  6.07682e-07
  8  7.94374
  9  56.3573
  10  2.32081e-05
  11  0.000301868
  12  6.26489e-05
  13  30.7734
  14  11.9478
  15  0.0183061
  16  7.63738e-06
  17  0.263085
  18  1.49632
  19  1.00724e-06
  20  3.34714
  21  4.68826e-05
  22  0.259649
  23  0.153855
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  2.321e-05  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.353e-01  1.539e-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.169e+00  2.596e-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: 7.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695642/likelihoodResults_244252801_244512001_4FGL_J1440.9+0609_daily_bin19.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) = 6376.43694879
delta logL = -0.000154729078531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6376.43679401
delta logL = 5.42095222045e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2847       1.0000          .0000       10.000    
     3 'Normalizat'    1.1687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93531       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=   6376.437     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      243 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2240        .90712E-02** at limit **
   2  Index         2.2958        5.0092        .50000       -.28792E-05
   3  Normalizat    1.1687        .21570E-02    .66609E-01    .14457E-04
   4  Prefactor     .93531        .13230E-02    .45453E-01    .90166E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.29581
  Normalizat = 1.16869
  Prefactor  = 0.935308
 **********
 **   18 **HESSE 
 **********

 FCN=   6376.437     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    83.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2958        5.4065        .50000       -.57143    
   3  Normalizat    1.1687        .85668E-02    .29468E-03   -.87576    
   4  Prefactor     .93531        .52586E-02    .19856E-03   -.94918    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.15895e-09
Minuit parameter uncertainties:
  1  5.48101e-07
  2  104.927
  3  0.00856681
  4  0.00525858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695642': 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) = 6376.43679394
delta logL = 1.19191099657e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  5.481e-07  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.296e+00  1.049e+02  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  9.353e-01  5.259e-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.169e+00  8.567e-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/695642/cmap_HighResolution_244252801_244512001_4FGL_J1440.9+0609_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='7.07e-08', time_completed='2021-09-10 05:00:24.804586', job_id='695642', GAL2='0.94', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1631275224.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='19' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:00:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 695642: <4FGL_J1440.9+0609_daily_bin19> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin19> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 04:46:36 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:46:37 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:46:37 2021
Terminated at Fri Sep 10 05:00:25 2021
Results reported at Fri Sep 10 05:00:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin19 220.242 6.1631 244252801 244512001 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 :                                   648.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            829 sec.

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

