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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin748
RA = 220.242, Dec = 6.1631
tmin = 433209601, tmax = 433468801
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='698880', job_status='RUN', time_executed='2021-09-10 05:00:31.939567', time_epoch_executed='1631275231.94' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698880

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698880/ft1_4FGL_J1440.9+0609_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698880/ft2_4FGL_J1440.9+0609_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698880/ft1_4FGL_J1440.9+0609_daily_bin748.fits outfile=/scratch/kocevski/698880/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin748.fits ra=220.242 dec=6.1631 rad=12.0 tmin=433209601.0 tmax=433468801.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 6.04
user 5.73
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698880/ft2_4FGL_J1440.9+0609_daily_bin748.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/698880/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin748.fits evtable="EVENTS" outfile="/scratch/kocevski/698880/ft1_filtered_4FGL_J1440.9+0609_daily_bin748.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.46
user 0.33
sys 0.13

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698880/ft1_filtered_4FGL_J1440.9+0609_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/698880/ft2_4FGL_J1440.9+0609_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/698880/ltcube_433209601_433468801_4FGL_J1440.9+0609_daily_bin748.fits outfile=/scratch/kocevski/698880/expmap_433209601_433468801_4FGL_J1440.9+0609_daily_bin748.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/698880/ltcube_433209601_433468801_4FGL_J1440.9+0609_daily_bin748.fits
.....................!
real 190.55
user 185.09
sys 5.10

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/698880/ft1_filtered_4FGL_J1440.9+0609_daily_bin748.fits scfile=/scratch/kocevski/698880/ft2_4FGL_J1440.9+0609_daily_bin748.fits outfile=/scratch/kocevski/698880/cmap_433209601_433468801_4FGL_J1440.9+0609_daily_bin748.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.52
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2527       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10624E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8978       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1297       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .25164       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17645E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    16.652       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.821       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15801E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11449E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.749       1.0000         .10000E-03   10000.    
    17 'norm      '    .13670       1.0000         .10000E-03   10000.    
    18 'norm      '    .74699       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.357       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1059       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0638       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10945.78     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1861 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2619        8.0694        .21480E-05    .13617E-02
   2  Prefactor     .10000E-03    9.8186       -.23001E-05** at limit **
   3  Prefactor     .10000E-03    5.2814       -.71374E-06** at limit **
   4  norm          .10000E-03    7.7672       -.41143E-06** at limit **
   5  Prefactor     .10000E-03    16.239       -.17150E-05** at limit **
   6  norm          .10000E-03    4.7346       -.40930E-06** at limit **
   7  Prefactor     5.8989        5.2323        .18889E-07   -.87009E-04
   8  Prefactor     5.1345        6.1936       -.62820E-06    .21826E-03
   9  Prefactor     .10308E-03    1947.1        .67575E-04** at limit **
  10  Prefactor     .10000E-03    67.734        .55580E-05** at limit **
  11  norm          16.633        6.5947       -.81005E-06   -.71222E-03
  12  Prefactor     13.800        3.4781        .52659E-06   -.27802E-02
  13  Prefactor     .10187E-03    126.88       -.18400E-04** at limit **
  14  Prefactor     .10000E-03    12.108       -.15583E-05** at limit **
  15  Prefactor     .10000E-03    24.584       -.17488E-05** at limit **
  16  Prefactor     25.829        8.3096        .76877E-06    .79737E-02
  17  norm          .13668        .10848        .56346E-08   -.10858E-03
  18  norm          .74749        1.3304        .72260E-06    .84733E-04
  19  norm          .10000E-03    2.1985       -.29524E-06** at limit **
  20  norm          .10000E-03    .86595        .41987E-07** at limit **
  21  Prefactor     30.359        2.4357        .36564E-06   -.51657E-02
  22  Normalizat    1.1060        .19259       -.46959E-06   -.59162E-04
  23  Prefactor     1.0638        .11649       -.45499E-06   -.88222E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.26194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.89886
  Prefactor  = 5.13452
  Prefactor  = 0.000103079
  Prefactor  = 0.0001
  norm       = 16.6334
  Prefactor  = 13.7996
  Prefactor  = 0.000101875
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 25.8291
  norm       = 0.136681
  norm       = 0.747489
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 30.3586
  Normalizat = 1.10604
  Prefactor  = 1.06375
 **********
 **   18 **HESSE 
 **********

 FCN=   10945.78     FROM HESSE     STATUS=OK           434 CALLS     2295 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2619        10.433        .56141E-02   -1.5347    
   2  Prefactor     .10000E-03    9.8200        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.2820        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.6829        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.172        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.7312        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8989        5.2511        .41340E-02   -1.5222    
   8  Prefactor     5.1345        6.2257        .44377E-02   -1.5255    
   9  Prefactor     .10308E-03    29.073        .15836       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.3128        .15767       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.633        11.712        .24537E-02   -1.4892    
  12  Prefactor     13.800        16.080        .26935E-02   -1.4965    
  13  Prefactor     .10187E-03    11.083        .11149       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.011        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    24.477        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.829        27.698        .19736E-02   -1.4691    
  17  norm          .13668        .11636        .66382E-02   -1.5634    
  18  norm          .74749        1.3489        .12241E-01   -1.5535    
  19  norm          .10000E-03    2.1769        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .85405        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     30.359        21.552        .18180E-02   -1.4605    
  22  Normalizat    1.1060        .16787        .67964E-01   -.89558    
  23  Prefactor     1.0638        .98734E-01    .39160E-01   -.90634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67501e-07
Minuit parameter uncertainties:
  1  10.4389
  2  3.35325e-05
  3  3.3467e-06
  4  1.05797e-05
  5  2.39602e-05
  6  4.13794e-06
  7  5.25151
  8  6.22643
  9  0.0189328
  10  6.97642e-05
  11  11.714
  12  16.0853
  13  0.00911836
  14  1.32436e-05
  15  0.000250094
  16  27.712
  17  0.11636
  18  1.34899
  19  2.90091e-06
  20  9.23107e-07
  21  21.5571
  22  0.167955
  23  0.098751
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  6.976e-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:  1.064e+00  9.875e-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.106e+00  1.680e-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: 4.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698880/likelihoodResults_433209601_433468801_4FGL_J1440.9+0609_daily_bin748.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) = 10945.7811628
delta logL = -6.78719516145e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10945.7811628
delta logL = -6.78690030327e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96362E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1204       1.0000          .0000       10.000    
     3 'Normalizat'    1.1060       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0638       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=   10945.78     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      243 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    .10737        .13750    ** at limit **
   2  Index         1.9743        5.4183        .50000        .70027E-05
   3  Normalizat    1.1060        .38558E-03    .67964E-01   -.20846E-03
   4  Prefactor     1.0638        .23781E-03    .39164E-01   -.43703E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100115
  Index      = 1.97427
  Normalizat = 1.10604
  Prefactor  = 1.06375
 **********
 **   18 **HESSE 
 **********

 FCN=   10945.78     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      284 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    .11740        .13039       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9743        5.3674        .50000       -.64995    
   3  Normalizat    1.1060        .39250E-03    .30069E-03   -.89558    
   4  Prefactor     1.0638        .24237E-03    .18780E-03   -.90634    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.47519e-10
Minuit parameter uncertainties:
  1  0.00023225
  2  6.52978
  3  0.000392499
  4  0.000242369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698880': 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) = 10945.7810945
delta logL = 4.25659891334e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.001e-04  2.322e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.974e+00  6.530e+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.064e+00  2.424e-04  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.106e+00  3.925e-04  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/698880/cmap_HighResolution_433209601_433468801_4FGL_J1440.9+0609_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-03', job_status='DONE', photon_flux_upper_limit='4.55e-08', time_completed='2021-09-10 05:13:12.088153', job_id='698880', GAL2='1.06', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1631275992.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='4.26e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='748' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:13:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 698880: <4FGL_J1440.9+0609_daily_bin748> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin748 220.242 6.1631 433209601 433468801 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 :                                   758.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            987 sec.

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

