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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin59
RA = 220.242, Dec = 6.1631
tmin = 254620801, tmax = 254880001
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='695703', job_status='RUN', time_executed='2021-09-10 04:47:45.875908', time_epoch_executed='1631274465.88' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='59'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695703

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695703/ft1_4FGL_J1440.9+0609_daily_bin59.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695703/ft2_4FGL_J1440.9+0609_daily_bin59.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695703/ft1_4FGL_J1440.9+0609_daily_bin59.fits outfile=/scratch/kocevski/695703/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin59.fits ra=220.242 dec=6.1631 rad=12.0 tmin=254620801.0 tmax=254880001.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 1.33
user 1.16
sys 0.15

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695703/ft1_filtered_4FGL_J1440.9+0609_daily_bin59.fits evtable="EVENTS" scfile=/scratch/kocevski/695703/ft2_4FGL_J1440.9+0609_daily_bin59.fits sctable="SC_DATA" expcube=/scratch/kocevski/695703/ltcube_254620801_254880001_4FGL_J1440.9+0609_daily_bin59.fits outfile=/scratch/kocevski/695703/expmap_254620801_254880001_4FGL_J1440.9+0609_daily_bin59.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/695703/ltcube_254620801_254880001_4FGL_J1440.9+0609_daily_bin59.fits
.....................!
real 192.46
user 186.48
sys 5.57

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/695703/ft1_filtered_4FGL_J1440.9+0609_daily_bin59.fits scfile=/scratch/kocevski/695703/ft2_4FGL_J1440.9+0609_daily_bin59.fits outfile=/scratch/kocevski/695703/cmap_254620801_254880001_4FGL_J1440.9+0609_daily_bin59.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695703/ft1_filtered_4FGL_J1440.9+0609_daily_bin59.fits scfile=/scratch/kocevski/695703/ft2_4FGL_J1440.9+0609_daily_bin59.fits outfile=/scratch/kocevski/695703/cmap_HighResolution_254620801_254880001_4FGL_J1440.9+0609_daily_bin59.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.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17117E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.583       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8528       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.668       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5560       1.0000         .10000E-03   10000.    
    11 'norm      '    15.127       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7417       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.575       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11640E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4486       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.187       1.0000         .10000E-03   10000.    
    17 'norm      '    5.3727       1.0000         .10000E-03   10000.    
    18 'norm      '    2.5998       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .25075       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97785       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0388       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=   11042.75     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2627 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.364       -.12492E-04** at limit **
   2  Prefactor     .10000E-03    4.4295       -.10595E-07** at limit **
   3  Prefactor     .10000E-03    27.955       -.33258E-05** at limit **
   4  norm          .10000E-03    2.8175       -.13235E-07** at limit **
   5  Prefactor     11.577        18.715       -.53170E-06    .14742E-04
   6  norm          .10000E-03    9.4850       -.97409E-09** at limit **
   7  Prefactor     .10000E-03    3.9709        .13061E-06** at limit **
   8  Prefactor     3.8481        6.6130        .15957E-06    .14257E-03
   9  Prefactor     10.525        46.732       -.25016E-05    .53854E-06
  10  Prefactor     6.5509        42.047       -.10444E-05    .73789E-05
  11  norm          15.129        21.753        .44020E-06    .15524E-04
  12  Prefactor     5.6746        37.189       -.52450E-05   -.10413E-04
  13  Prefactor     28.572        20.778       -.70161E-07    .52724E-05
  14  Prefactor     .10000E-03    32.914       -.79180E-06** at limit **
  15  Prefactor     5.4707        90.505        .58070E-05    .12984E-05
  16  Prefactor     27.042        69.083        .12651E-05    .91833E-05
  17  norm          5.3726        .39131       -.29286E-08    .24897E-03
  18  norm          2.5999        1.9499       -.40293E-07   -.93346E-05
  19  norm          .10000E-03    2.9936       -.11191E-07** at limit **
  20  norm          .24267        1.5088        .38532E-06   -.59221E-04
  21  Prefactor     .10000E-03    10.609        .30984E-08** at limit **
  22  Normalizat    .97819        .19450       -.59099E-06   -.18294E-05
  23  Prefactor     1.0386        .11295        .13417E-06    .14044E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.5773
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.8481
  Prefactor  = 10.5248
  Prefactor  = 6.5509
  norm       = 15.1285
  Prefactor  = 5.67456
  Prefactor  = 28.5718
  Prefactor  = 0.000100001
  Prefactor  = 5.47071
  Prefactor  = 27.0423
  norm       = 5.37262
  norm       = 2.59992
  norm       = 0.0001
  norm       = 0.242672
  Prefactor  = 0.0001
  Normalizat = 0.978187
  Prefactor  = 1.03861
 **********
 **   18 **HESSE 
 **********

 FCN=   11042.75     FROM HESSE     STATUS=OK           376 CALLS     3003 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.004        .49031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.4323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    28.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.8198        .17226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.577        18.762        .11771E-03   -1.5027    
   6  norm          .10000E-03    9.4976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8481        6.6115        .20560E-03   -1.5316    
   9  Prefactor     10.525        46.709        .12267E-03   -1.5059    
  10  Prefactor     6.5509        41.554        .15673E-03   -1.5196    
  11  norm          15.129        21.641        .10298E-03   -1.4930    
  12  Prefactor     5.6746        37.375        .16762E-03   -1.5231    
  13  Prefactor     28.572        20.791        .74947E-04   -1.4638    
  14  Prefactor     .10000E-03    33.902        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.4707        90.848        .17214E-03   -1.5240    
  16  Prefactor     27.042        69.182        .76832E-04   -1.4667    
  17  norm          5.3726        .39211        .16760E-04   -1.5244    
  18  norm          2.5999        1.9329        .11815E-03   -1.5385    
  19  norm          .10000E-03    3.0106        .17755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .24267        11.137        .23996E-02   -1.5609    
  21  Prefactor     .10000E-03    10.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .97819        .22751        .36553E-03   -.93765    
  23  Prefactor     1.0386        .13400        .21685E-03   -.91453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24211e-08
Minuit parameter uncertainties:
  1  4.85355e-05
  2  2.00454e-06
  3  5.25392e-05
  4  3.55959e-07
  5  18.772
  6  2.47151e-05
  7  8.16496e-06
  8  6.61279
  9  44.402
  10  33.0314
  11  21.6525
  12  29.1525
  13  20.7963
  14  0.000417352
  15  44.6668
  16  69.3885
  17  0.392107
  18  1.93298
  19  1.88688e-06
  20  3.28793
  21  1.384e-06
  22  0.227732
  23  0.134043
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  6.551e+00  3.303e+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.039e+00  1.340e-01  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  9.782e-01  2.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/695703/likelihoodResults_254620801_254880001_4FGL_J1440.9+0609_daily_bin59.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) = 11042.7373404
delta logL = 0.0121783178529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11042.7332734
delta logL = 0.016245263263

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7864       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3977       1.0000          .0000       10.000    
     3 'Normalizat'    .97442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0397       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=   11042.73     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      212 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7573        342.55        .45974E-02    .53528E-03
   2  Index         2.4037        2.3975        .23913        .19281E-03
   3  Normalizat    .97450        .31017E-01    .82705E-01    .72204E-03
   4  Prefactor     1.0397        .18369E-01    .40554E-01    .12011E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.75732
  Index      = 2.4037
  Normalizat = 0.974503
  Prefactor  = 1.03968
 **********
 **   18 **HESSE 
 **********

 FCN=   11042.73     FROM HESSE     STATUS=OK            29 CALLS      241 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7573        32.676        .18390E-03   -1.5272    
   2  Index         2.4037        2.0386        .10075E-01   -.54598    
   3  Normalizat    .97450        .21413        .36613E-03   -.93890    
   4  Prefactor     1.0397        .13037        .21674E-03   -.91418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01141e-09
Minuit parameter uncertainties:
  1  24.9552
  2  2.12512
  3  0.214322
  4  0.130409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695703': 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) = 11042.733265
delta logL = 0.0162537165306

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  4.757e+00  2.496e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.404e+00  2.125e+00  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  1.040e+00  1.304e-01  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  9.745e-01  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 220.242 6.163

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/695703/cmap_HighResolution_254620801_254880001_4FGL_J1440.9+0609_daily_bin59.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2021-09-10 05:01:27.378413', job_id='695703', GAL2='1.04', fit_tolerance='1e-08', EG2='0.97', EG='0.98', time_epoch_completed='1631275287.38', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.63e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='59' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:01:27 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin59 220.242 6.1631 254620801 254880001 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 :                                   820.03 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            887 sec.

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

