/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 4 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 = 7488
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin838
RA = 220.242, Dec = 6.1631
tmin = 456537601, tmax = 456796801
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='700058', job_status='RUN', time_executed='2021-09-10 05:01:31.752310', time_epoch_executed='1631275291.75' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='838'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700058

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700058/ft1_4FGL_J1440.9+0609_daily_bin838.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700058/ft2_4FGL_J1440.9+0609_daily_bin838.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700058/ft1_4FGL_J1440.9+0609_daily_bin838.fits outfile=/scratch/kocevski/700058/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin838.fits ra=220.242 dec=6.1631 rad=12.0 tmin=456537601.0 tmax=456796801.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 5.25
user 4.97
sys 0.25

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700058/ft1_filtered_4FGL_J1440.9+0609_daily_bin838.fits evtable="EVENTS" scfile=/scratch/kocevski/700058/ft2_4FGL_J1440.9+0609_daily_bin838.fits sctable="SC_DATA" expcube=/scratch/kocevski/700058/ltcube_456537601_456796801_4FGL_J1440.9+0609_daily_bin838.fits outfile=/scratch/kocevski/700058/expmap_456537601_456796801_4FGL_J1440.9+0609_daily_bin838.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/700058/ltcube_456537601_456796801_4FGL_J1440.9+0609_daily_bin838.fits
.....................!
real 190.79
user 185.53
sys 4.88

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/700058/ft1_filtered_4FGL_J1440.9+0609_daily_bin838.fits scfile=/scratch/kocevski/700058/ft2_4FGL_J1440.9+0609_daily_bin838.fits outfile=/scratch/kocevski/700058/cmap_456537601_456796801_4FGL_J1440.9+0609_daily_bin838.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700058/ft1_filtered_4FGL_J1440.9+0609_daily_bin838.fits scfile=/scratch/kocevski/700058/ft2_4FGL_J1440.9+0609_daily_bin838.fits outfile=/scratch/kocevski/700058/cmap_HighResolution_456537601_456796801_4FGL_J1440.9+0609_daily_bin838.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.897       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1840       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6588       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15821E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0829       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7505       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11155E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    14.630       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3011       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5648       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .17134E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8509       1.0000         .10000E-03   10000.    
    18 'norm      '    .49852       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.2133       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5771       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0720       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96041       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=   13094.80     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2589 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.897        7.6091        .50893E-07   -.66343E-04
   2  Prefactor     3.1840        13.959        .78278E-06   -.39426E-04
   3  Prefactor     .10000E-03    4.7265        .37836E-08** at limit **
   4  norm          2.6587        7.4683        .77578E-06    .22218E-04
   5  Prefactor     .10023E-03    11.214        .20458E-05** at limit **
   6  norm          1.0851        14.319        .21714E-05   -.10361E-03
   7  Prefactor     .10000E-03    1.2771       -.22946E-07** at limit **
   8  Prefactor     1.7501        3.3804        .95546E-06    .16691E-03
   9  Prefactor     .10000E-03    8.1249       -.26529E-07** at limit **
  10  Prefactor     .10000E-03    42.948        .18830E-05** at limit **
  11  norm          14.646        12.559        .69715E-06    .10738E-03
  12  Prefactor     4.2970        15.398        .50424E-06    .13438E-04
  13  Prefactor     .10000E-03    5.1786        .48431E-07** at limit **
  14  Prefactor     6.5606        8.8947        .15635E-05    .39602E-03
  15  Prefactor     .10000E-03    22.574        .15006E-06** at limit **
  16  Prefactor     .10000E-03    104.83       -.23387E-06** at limit **
  17  norm          2.8509        .26600       -.20318E-08   -.11789E-02
  18  norm          .49891        1.3204        .57760E-06   -.46756E-03
  19  norm          .10000E-03    1.1812       -.13594E-09** at limit **
  20  norm          3.2133        2.1831       -.10454E-06   -.26577E-03
  21  Prefactor     4.5224        31.013       -.88193E-06   -.46334E-04
  22  Normalizat    1.0721        .14920       -.79687E-06   -.44764E-03
  23  Prefactor     .96036        .90622E-01   -.11558E-06   -.60219E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8967
  Prefactor  = 3.18399
  Prefactor  = 0.0001
  norm       = 2.65873
  Prefactor  = 0.00010023
  norm       = 1.08509
  Prefactor  = 0.0001
  Prefactor  = 1.75009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.6456
  Prefactor  = 4.29704
  Prefactor  = 0.0001
  Prefactor  = 6.56064
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.85089
  norm       = 0.498914
  norm       = 0.0001
  norm       = 3.21335
  Prefactor  = 4.52237
  Normalizat = 1.07211
  Prefactor  = 0.960362
 **********
 **   18 **HESSE 
 **********

 FCN=   13094.80     FROM HESSE     STATUS=OK           378 CALLS     2967 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.897        7.5906        .12137E-03   -1.5048    
   2  Prefactor     3.1840        13.927        .22710E-03   -1.5351    
   3  Prefactor     .10000E-03    4.7299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6587        7.4876        .24998E-03   -1.5382    
   5  Prefactor     .10023E-03    55.347        .63146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0851        15.405        .46220E-03   -1.5500    
   7  Prefactor     .10000E-03    1.2795        .12627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7501        3.3948        .28564E-03   -1.5443    
   9  Prefactor     .10000E-03    8.1265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    42.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.646        12.501        .10472E-03   -1.4942    
  12  Prefactor     4.2970        15.379        .19425E-03   -1.5293    
  13  Prefactor     .10000E-03    5.1899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.5606        9.1424        .15663E-03   -1.5196    
  15  Prefactor     .10000E-03    22.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    108.21        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8509        .26632        .17298E-04   -1.5370    
  18  norm          .49891        1.6161        .18887E-02   -1.5567    
  19  norm          .10000E-03    1.1816        .12146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.2133        2.1796        .13381E-03   -1.5349    
  21  Prefactor     4.5224        31.108        .18815E-03   -1.5283    
  22  Normalizat    1.0721        .17406        .30570E-03   -.90652    
  23  Prefactor     .96036        .10746        .20101E-03   -.94063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67926e-08
Minuit parameter uncertainties:
  1  7.59132
  2  13.323
  3  6.82561e-07
  4  7.49024
  5  0.00714008
  6  8.17902
  7  1.49123e-06
  8  3.39522
  9  2.67153e-06
  10  3.29661e-05
  11  12.5037
  12  15.3928
  13  1.38214e-06
  14  9.14434
  15  3.50848e-05
  16  0.000309736
  17  0.266322
  18  1.61629
  19  7.73587e-08
  20  2.17965
  21  23.7391
  22  0.174158
  23  0.107481
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  3.297e-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.604e-01  1.075e-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.072e+00  1.742e-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: 5.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700058/likelihoodResults_456537601_456796801_4FGL_J1440.9+0609_daily_bin838.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) = 13094.7979601
delta logL = -0.000111241912236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13094.7978489
delta logL = -1.13195710583e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1825       1.0000          .0000       10.000    
     3 'Normalizat'    1.0721       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96036       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=   13094.80     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      235 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    108.82        .90712E-02** at limit **
   2  Index         2.1760        5.5638        .50000        .11422E-05
   3  Normalizat    1.0721        .61502E-02    .69094E-01    .19273E-04
   4  Prefactor     .96036        .38703E-02    .45770E-01   -.22080E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17603
  Normalizat = 1.07211
  Prefactor  = 0.960362
 **********
 **   18 **HESSE 
 **********

 FCN=   13094.80     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6871.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1760        8.8454        .50000       -.60018    
   3  Normalizat    1.0721        .44002E-01    .30570E-03   -.90652    
   4  Prefactor     .96036        .27714E-01    .20101E-03   -.94063    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28518e-10
Minuit parameter uncertainties:
  1  2.40369e-05
  2  41.9386
  3  0.0440038
  4  0.0277149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700058': 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) = 13094.7978489
delta logL = -4.84578777105e-09

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  2.404e-05  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.176e+00  4.194e+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:  9.604e-01  2.771e-02  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.072e+00  4.400e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/700058/cmap_HighResolution_456537601_456796801_4FGL_J1440.9+0609_daily_bin838.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-09-10 05:17:05.624429', job_id='700058', GAL2='0.96', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1631276225.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-4.85e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='838' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:17:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 700058: <4FGL_J1440.9+0609_daily_bin838> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin838> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 05:01:15 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:01:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:01:18 2021
Terminated at Fri Sep 10 05:17:06 2021
Results reported at Fri Sep 10 05:17:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin838 220.242 6.1631 456537601 456796801 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 :                                   932.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            951 sec.

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

