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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin91
RA = 220.242, Dec = 6.1631
tmin = 262915201, tmax = 263174401
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='696847', job_status='RUN', time_executed='2021-09-10 04:52:36.839600', time_epoch_executed='1631274756.84' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='91'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696847

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696847/ft1_4FGL_J1440.9+0609_daily_bin91.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696847/ft2_4FGL_J1440.9+0609_daily_bin91.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696847/ft1_4FGL_J1440.9+0609_daily_bin91.fits outfile=/scratch/kocevski/696847/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin91.fits ra=220.242 dec=6.1631 rad=12.0 tmin=262915201.0 tmax=263174401.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.28
user 1.09
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696847/ft1_filtered_4FGL_J1440.9+0609_daily_bin91.fits" evtable="EVENTS" scfile=/scratch/kocevski/696847/ft2_4FGL_J1440.9+0609_daily_bin91.fits sctable="SC_DATA" outfile=/scratch/kocevski/696847/ltcube_262915201_263174401_4FGL_J1440.9+0609_daily_bin91.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/696847/ft2_4FGL_J1440.9+0609_daily_bin91.fits
.....................!
real 10.82
user 10.49
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696847/ft1_filtered_4FGL_J1440.9+0609_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/696847/ft2_4FGL_J1440.9+0609_daily_bin91.fits sctable="SC_DATA" expcube=/scratch/kocevski/696847/ltcube_262915201_263174401_4FGL_J1440.9+0609_daily_bin91.fits outfile=/scratch/kocevski/696847/expmap_262915201_263174401_4FGL_J1440.9+0609_daily_bin91.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/696847/ltcube_262915201_263174401_4FGL_J1440.9+0609_daily_bin91.fits
.....................!
real 189.73
user 185.27
sys 4.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/696847/ft1_filtered_4FGL_J1440.9+0609_daily_bin91.fits scfile=/scratch/kocevski/696847/ft2_4FGL_J1440.9+0609_daily_bin91.fits outfile=/scratch/kocevski/696847/cmap_262915201_263174401_4FGL_J1440.9+0609_daily_bin91.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.56
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696847/ft1_filtered_4FGL_J1440.9+0609_daily_bin91.fits scfile=/scratch/kocevski/696847/ft2_4FGL_J1440.9+0609_daily_bin91.fits outfile=/scratch/kocevski/696847/cmap_HighResolution_262915201_263174401_4FGL_J1440.9+0609_daily_bin91.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.58
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3820       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26152E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    42.595       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3355       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .50258E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.083       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.2356       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7963       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.1684       1.0000         .10000E-03   10000.    
    18 'norm      '    7.1164       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .76920       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .65267       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0896       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6533.330     FROM MIGRAD    STATUS=CONVERGED    886 CALLS     3276 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3830        16.407        .69234E-03    .37078E-04
   2  Prefactor     .10000E-03    9.2989        .18142E-02** at limit **
   3  Prefactor     .10015E-03    213.30        .80488E-02** at limit **
   4  norm          .10000E-03    3.6814        .15146E-02** at limit **
   5  Prefactor     .10000E-03    6.6765        .18142E-02** at limit **
   6  norm          42.597        28.197        .61424E-04   -.42755E-04
   7  Prefactor     .10000E-03    4.4666        .16648E-02** at limit **
   8  Prefactor     6.3347        8.1399        .79734E-03    .12305E-03
   9  Prefactor     .10001E-03    48.529        .18142E-02** at limit **
  10  Prefactor     .10000E-03    22.776        .18142E-02** at limit **
  11  norm          .10005E-03    45.628        .48790E-02** at limit **
  12  Prefactor     .10000E-03    15.340        .18142E-02** at limit **
  13  Prefactor     12.088        31.401        .11524E-03   -.21901E-04
  14  Prefactor     3.2363        12.475        .22518E-03    .10097E-04
  15  Prefactor     3.8025        42.502        .20718E-03   -.85604E-05
  16  Prefactor     .10001E-03    57.134        .18142E-02** at limit **
  17  norm          6.1684        .53036        .16286E-04    .36859E-03
  18  norm          7.1168        2.8389        .41152E-03   -.32218E-03
  19  norm          .10000E-03    2.8855        .13400E-02** at limit **
  20  norm          .76713        1.8294        .19626E-02    .18512E-02
  21  Prefactor     .10000E-03    22.773        .18142E-02** at limit **
  22  Normalizat    .65248        .26429        .41313E-03   -.11998E-04
  23  Prefactor     1.0897        .16035        .20355E-03    .37253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.38302
  Prefactor  = 0.0001
  Prefactor  = 0.000100149
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 42.5974
  Prefactor  = 0.0001
  Prefactor  = 6.33475
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  norm       = 0.000100055
  Prefactor  = 0.0001
  Prefactor  = 12.0878
  Prefactor  = 3.23626
  Prefactor  = 3.80254
  Prefactor  = 0.000100008
  norm       = 6.16842
  norm       = 7.11682
  norm       = 0.0001
  norm       = 0.767132
  Prefactor  = 0.0001
  Normalizat = 0.652481
  Prefactor  = 1.08974
 **********
 **   18 **HESSE 
 **********

 FCN=   6533.330     FROM HESSE     STATUS=OK           348 CALLS     3624 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3830        16.402        .27694E-04   -1.5129    
   2  Prefactor     .10000E-03    9.2992        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10015E-03    219.91        .32195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.6815        .30291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6766        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          42.597        28.197        .12285E-04   -1.4402    
   7  Prefactor     .10000E-03    4.4670        .33297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3347        8.1373        .31894E-04   -1.5205    
   9  Prefactor     .10001E-03    48.534        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.780        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10005E-03    46.325        .97581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.340        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.088        31.397        .46096E-05   -1.5012    
  14  Prefactor     3.2363        12.473        .90074E-05   -1.5348    
  15  Prefactor     3.8025        42.479        .82870E-05   -1.5318    
  16  Prefactor     .10001E-03    57.140        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.1684        .53034        .65142E-06   -1.5211    
  18  norm          7.1168        2.8384        .16461E-04   -1.5174    
  19  norm          .10000E-03    2.8855        .26800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .76713        1.8266        .78502E-04   -1.5533    
  21  Prefactor     .10000E-03    22.775        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .65248        .26420        .16525E-04   -1.0580    
  23  Prefactor     1.0897        .16044        .81420E-05   -.89795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56372e-09
Minuit parameter uncertainties:
  1  16.4112
  2  1.20589e-05
  3  0.0114896
  4  4.9204e-07
  5  2.48348e-06
  6  28.2057
  7  2.39641e-05
  8  8.13875
  9  0.00160473
  10  0.000140763
  11  0.00319345
  12  9.24208e-05
  13  31.4403
  14  12.4828
  15  25.4413
  16  0.00135907
  17  0.53034
  18  2.83846
  19  5.94437e-07
  20  1.8267
  21  0.000102421
  22  0.264718
  23  0.160515
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  1.408e-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:  1.090e+00  1.605e-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:  6.525e-01  2.647e-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: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/696847/likelihoodResults_262915201_263174401_4FGL_J1440.9+0609_daily_bin91.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) = 6533.33055124
delta logL = -0.000209150925002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6533.3303421
delta logL = -5.73527358938e-09

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 'Index     '    2.2052       1.0000          .0000       10.000    
     3 'Normalizat'    .65248       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0897       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=   6533.330     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      236 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    193.56        .90712E-02** at limit **
   2  Index         2.2059        7.3735        .50000       -.38629E-06
   3  Normalizat    .65248        .17035E-01    .93218E-01    .13680E-04
   4  Prefactor     1.0897        .10683E-01    .37990E-01   -.26201E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.20593
  Normalizat = 0.652482
  Prefactor  = 1.08974
 **********
 **   18 **HESSE 
 **********

 FCN=   6533.330     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    887.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2059        5.1811        .50000       -.59296    
   3  Normalizat    .65248        .38031E-01    .41313E-03   -1.0580    
   4  Prefactor     1.0897        .23929E-01    .20355E-03   -.89795    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.44999e-11
Minuit parameter uncertainties:
  1  0.000306086
  2  26.4272
  3  0.0380326
  4  0.0239291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696847': 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) = 6533.33034209
delta logL = -5.10499376105e-09

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  3.061e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.206e+00  2.643e+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:  1.090e+00  2.393e-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:  6.525e-01  3.803e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/696847/cmap_HighResolution_262915201_263174401_4FGL_J1440.9+0609_daily_bin91.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.78e-08', time_completed='2021-09-10 05:03:21.781699', job_id='696847', GAL2='1.09', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1631275401.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-5.10e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='91' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:03:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 696847: <4FGL_J1440.9+0609_daily_bin91> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin91> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 04:51:14 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:51:16 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:51:16 2021
Terminated at Fri Sep 10 05:03:22 2021
Results reported at Fri Sep 10 05:03:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin91 220.242 6.1631 262915201 263174401 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 :                                   645.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            728 sec.

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

