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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin787
RA = 220.242, Dec = 6.1631
tmin = 443318401, tmax = 443577601
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='699977', job_status='RUN', time_executed='2021-09-10 05:04:56.847272', time_epoch_executed='1631275496.85' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='787'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699977

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699977/ft1_4FGL_J1440.9+0609_daily_bin787.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699977/ft2_4FGL_J1440.9+0609_daily_bin787.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699977/ft1_4FGL_J1440.9+0609_daily_bin787.fits outfile=/scratch/kocevski/699977/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin787.fits ra=220.242 dec=6.1631 rad=12.0 tmin=443318401.0 tmax=443577601.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 4.69
user 4.43
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699977/ft1_filtered_4FGL_J1440.9+0609_daily_bin787.fits evtable="EVENTS" scfile=/scratch/kocevski/699977/ft2_4FGL_J1440.9+0609_daily_bin787.fits sctable="SC_DATA" expcube=/scratch/kocevski/699977/ltcube_443318401_443577601_4FGL_J1440.9+0609_daily_bin787.fits outfile=/scratch/kocevski/699977/expmap_443318401_443577601_4FGL_J1440.9+0609_daily_bin787.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/699977/ltcube_443318401_443577601_4FGL_J1440.9+0609_daily_bin787.fits
.....................!
real 190.01
user 185.03
sys 4.60

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/699977/ft1_filtered_4FGL_J1440.9+0609_daily_bin787.fits scfile=/scratch/kocevski/699977/ft2_4FGL_J1440.9+0609_daily_bin787.fits outfile=/scratch/kocevski/699977/cmap_443318401_443577601_4FGL_J1440.9+0609_daily_bin787.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699977/ft1_filtered_4FGL_J1440.9+0609_daily_bin787.fits scfile=/scratch/kocevski/699977/ft2_4FGL_J1440.9+0609_daily_bin787.fits outfile=/scratch/kocevski/699977/cmap_HighResolution_443318401_443577601_4FGL_J1440.9+0609_daily_bin787.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.519       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.2555       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9090       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6175       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .44754E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    33.962       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.214       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.562       1.0000         .10000E-03   10000.    
    15 'Prefactor '    62.898       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .85133       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.5116       1.0000         .10000E-03   10000.    
    21 'Prefactor '    50.326       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81654       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=   6719.169     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2520 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7544       -.23432E-08** at limit **
   2  Prefactor     12.518        21.058        .15231E-08   -.10790E-05
   3  Prefactor     .10000E-03    10.931        .21691E-06** at limit **
   4  norm          7.2555        6.9856       -.14126E-05    .92783E-04
   5  Prefactor     .10000E-03    12.940       -.30357E-06** at limit **
   6  norm          .10000E-03    8.2681       -.10713E-06** at limit **
   7  Prefactor     2.9093        5.1051        .28701E-06   -.24094E-04
   8  Prefactor     9.6184        7.4881       -.93192E-09   -.16835E-04
   9  Prefactor     .10000E-03    19.892        .72214E-07** at limit **
  10  Prefactor     .10000E-03    80.720       -.47104E-05** at limit **
  11  norm          33.950        22.873       -.13444E-05   -.29676E-04
  12  Prefactor     14.213        27.420       -.27746E-07   -.86460E-05
  13  Prefactor     .10000E-03    8.5060        .11210E-07** at limit **
  14  Prefactor     10.561        15.112        .53073E-07   -.49288E-05
  15  Prefactor     62.900        36.026        .25270E-07    .16153E-04
  16  Prefactor     .10000E-03    32.055        .15464E-06** at limit **
  17  norm          .85137        .22686        .49988E-09    .17493E-03
  18  norm          .10000E-03    .90626        .33243E-07** at limit **
  19  norm          .10000E-03    3.6268       -.25017E-10** at limit **
  20  norm          6.5116        4.1428        .42408E-07    .57555E-04
  21  Prefactor     50.325        44.045       -.28475E-08   -.25896E-06
  22  Normalizat    1.1078        .20321        .63666E-07    .12948E-04
  23  Prefactor     .81662        .11938       -.60644E-07    .31005E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.5183
  Prefactor  = 0.0001
  norm       = 7.25548
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.90934
  Prefactor  = 9.61843
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 33.9498
  Prefactor  = 14.2126
  Prefactor  = 0.0001
  Prefactor  = 10.5607
  Prefactor  = 62.9
  Prefactor  = 0.0001
  norm       = 0.85137
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.51162
  Prefactor  = 50.3252
  Normalizat = 1.10779
  Prefactor  = 0.816616
 **********
 **   18 **HESSE 
 **********

 FCN=   6719.169     FROM HESSE     STATUS=OK           372 CALLS     2892 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.518        21.140        .11321E-03   -1.5000    
   3  Prefactor     .10000E-03    11.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.2555        7.1236        .74455E-03   -1.5169    
   5  Prefactor     .10000E-03    13.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.2918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9093        5.0804        .23335E-03   -1.5367    
   8  Prefactor     9.6184        7.4828        .12922E-03   -1.5088    
   9  Prefactor     .10000E-03    19.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    79.631        .21211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          33.950        22.520        .68762E-04   -1.4542    
  12  Prefactor     14.213        27.400        .10624E-03   -1.4954    
  13  Prefactor     .10000E-03    8.5300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.561        15.100        .12328E-03   -1.5058    
  15  Prefactor     62.900        35.995        .50597E-04   -1.4120    
  16  Prefactor     .10000E-03    32.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .85137        .22663        .19196E-04   -1.5523    
  18  norm          .10000E-03    .92272        .76117E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6572        .15245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.5116        4.1453        .12807E-03   -1.5198    
  21  Prefactor     50.325        44.094        .56530E-04   -1.4288    
  22  Normalizat    1.1078        .24225        .29010E-03   -.89502    
  23  Prefactor     .81662        .14207        .20065E-03   -.99119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39861e-11
Minuit parameter uncertainties:
  1  2.06391e-06
  2  21.1523
  3  6.54684e-05
  4  7.12447
  5  9.31042e-05
  6  2.57996e-05
  7  5.08115
  8  7.48356
  9  4.56825e-05
  10  0.000404565
  11  22.5259
  12  27.4238
  13  2.13457e-05
  14  15.1053
  15  36.0074
  16  3.36967e-05
  17  0.226635
  18  6.93942e-07
  19  2.07523e-06
  20  4.14546
  21  44.1231
  22  0.242497
  23  0.142131
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  4.046e-04  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:  8.166e-01  1.421e-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.108e+00  2.425e-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: 8.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/699977/likelihoodResults_443318401_443577601_4FGL_J1440.9+0609_daily_bin787.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) = 6719.16877221
delta logL = -5.97457710683e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6719.06198236
delta logL = 0.106730098802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3754       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9916       1.0000          .0000       10.000    
     3 'Normalizat'    1.0838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82280       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=   6719.062     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      276 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3901        222.62        .66454E-02    .96453E-03
   2  Index         2.9895        3.8420        .10213        .23623E-03
   3  Normalizat    1.0837        .51250E-01    .66179E-01   -.43285E-03
   4  Prefactor     .82280        .30616E-01    .44013E-01   -.23920E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.39011
  Index      = 2.98953
  Normalizat = 1.0837
  Prefactor  = 0.8228
 **********
 **   18 **HESSE 
 **********

 FCN=   6719.062     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3901        573.07        .26582E-03   -1.5399    
   2  Index         2.9895        5.2490        .88863E-02   -.41380    
   3  Normalizat    1.0837        .22591        .29276E-03   -.90277    
   4  Prefactor     .82280        .13670        .19987E-03   -.98893    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.35434e-08
Minuit parameter uncertainties:
  1  74.7524
  2  10.0819
  3  0.226114
  4  0.136758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699977': 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) = 6719.06198076
delta logL = 0.106731696002

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.390e+00  7.475e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.990e+00  1.008e+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:  8.228e-01  1.368e-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.084e+00  2.261e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/699977/cmap_HighResolution_443318401_443577601_4FGL_J1440.9+0609_daily_bin787.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.80e-03', job_status='DONE', photon_flux_upper_limit='8.99e-08', time_completed='2021-09-10 05:15:00.107466', job_id='699977', GAL2='0.82', fit_tolerance='1e-08', EG2='1.08', EG='1.11', time_epoch_completed='1631276100.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.07e-01', ts2='0.22', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='787' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:15:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 699977: <4FGL_J1440.9+0609_daily_bin787> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin787 220.242 6.1631 443318401 443577601 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 :                                   603.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

