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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin709
RA = 220.242, Dec = 6.1631
tmin = 423100801, tmax = 423360001
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='698821', job_status='RUN', time_executed='2021-09-10 04:59:42.012715', time_epoch_executed='1631275182.01' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698821/ft1_4FGL_J1440.9+0609_daily_bin709.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698821/ft2_4FGL_J1440.9+0609_daily_bin709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698821/ft1_4FGL_J1440.9+0609_daily_bin709.fits outfile=/scratch/kocevski/698821/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin709.fits ra=220.242 dec=6.1631 rad=12.0 tmin=423100801.0 tmax=423360001.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.95
user 4.68
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698821/ft1_filtered_4FGL_J1440.9+0609_daily_bin709.fits evtable="EVENTS" scfile=/scratch/kocevski/698821/ft2_4FGL_J1440.9+0609_daily_bin709.fits sctable="SC_DATA" expcube=/scratch/kocevski/698821/ltcube_423100801_423360001_4FGL_J1440.9+0609_daily_bin709.fits outfile=/scratch/kocevski/698821/expmap_423100801_423360001_4FGL_J1440.9+0609_daily_bin709.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/698821/ltcube_423100801_423360001_4FGL_J1440.9+0609_daily_bin709.fits
.....................!
real 190.88
user 185.35
sys 5.16

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/698821/ft1_filtered_4FGL_J1440.9+0609_daily_bin709.fits scfile=/scratch/kocevski/698821/ft2_4FGL_J1440.9+0609_daily_bin709.fits outfile=/scratch/kocevski/698821/cmap_423100801_423360001_4FGL_J1440.9+0609_daily_bin709.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.54
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.523       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.819       1.0000         .10000E-03   10000.    
     4 'norm      '    .86165       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    27.038       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10740E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6104       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    57.096       1.0000         .10000E-03   10000.    
    11 'norm      '    .11145E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.599       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .29886       1.0000         .10000E-03   10000.    
    18 'norm      '    .10362E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .24420       1.0000         .10000E-03   10000.    
    20 'norm      '    1.8008       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19999E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4816       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71755       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=   5408.084     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2533 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.528        16.237       -.10736E-05   -.58914E-04
   2  Prefactor     .10000E-03    12.188        .70756E-05** at limit **
   3  Prefactor     14.817        28.985       -.23205E-05    .77612E-05
   4  norm          .85707        3.0517        .24871E-05   -.16661E-02
   5  Prefactor     .10000E-03    35.292       -.30425E-05** at limit **
   6  norm          27.037        30.100       -.33231E-05   -.10661E-04
   7  Prefactor     .10000E-03    8.7866       -.22421E-05** at limit **
   8  Prefactor     2.6135        15.956       -.43777E-05   -.39699E-03
   9  Prefactor     .10000E-03    13.658       -.12080E-04** at limit **
  10  Prefactor     57.095        34.667       -.97201E-06   -.79997E-04
  11  norm          .10000E-03    21.230        .54108E-05** at limit **
  12  Prefactor     30.627        45.936        .23689E-04    .73963E-04
  13  Prefactor     .10000E-03    17.365        .95547E-05** at limit **
  14  Prefactor     .10000E-03    8.7036        .13704E-05** at limit **
  15  Prefactor     .10000E-03    24.603       -.15203E-04** at limit **
  16  Prefactor     .10000E-03    37.369        .94373E-05** at limit **
  17  norm          .29914        .17839       -.13992E-07   -.75937E-03
  18  norm          .10000E-03    1.6876        .11167E-06** at limit **
  19  norm          .11476        6.2593        .86149E-06   -.32083E-03
  20  norm          1.7901        4.5602        .10759E-06    .64356E-04
  21  Prefactor     .10001E-03    190.07       -.84052E-04** at limit **
  22  Normalizat    1.4809        .24142       -.11202E-05    .13077E-03
  23  Prefactor     .71798        .13488        .28509E-06    .11915E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.5281
  Prefactor  = 0.0001
  Prefactor  = 14.8168
  norm       = 0.857065
  Prefactor  = 0.0001
  norm       = 27.0373
  Prefactor  = 0.0001
  Prefactor  = 2.6135
  Prefactor  = 0.0001
  Prefactor  = 57.095
  norm       = 0.0001
  Prefactor  = 30.6274
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.29914
  norm       = 0.0001
  norm       = 0.114765
  norm       = 1.79008
  Prefactor  = 0.000100011
  Normalizat = 1.48092
  Prefactor  = 0.717976
 **********
 **   18 **HESSE 
 **********

 FCN=   5408.084     FROM HESSE     STATUS=OK           374 CALLS     2907 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.528        16.297        .90646E-04   -1.4824    
   2  Prefactor     .10000E-03    12.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.817        28.998        .10404E-03   -1.4938    
   4  norm          .85707        21.308        .25335E-02   -1.5523    
   5  Prefactor     .10000E-03    35.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          27.037        30.116        .77043E-04   -1.4668    
   7  Prefactor     .10000E-03    8.8688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.6135        16.748        .12624E-02   -1.5385    
   9  Prefactor     .10000E-03    13.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     57.095        34.681        .53091E-04   -1.4195    
  11  norm          .10000E-03    21.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.627        46.058        .72432E-04   -1.4601    
  13  Prefactor     .10000E-03    17.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    24.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    37.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .29914        .17847        .23098E-04   -1.5599    
  18  norm          .10000E-03    2.8176        .18009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11476        11.382        .63896E-01   -1.5640    
  20  norm          1.7901        4.4741        .23244E-03   -1.5440    
  21  Prefactor     .10001E-03    192.32        .40458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4809        .29238        .27074E-03   -.78316    
  23  Prefactor     .71798        .16339        .21224E-03   -1.0283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45535e-08
Minuit parameter uncertainties:
  1  16.3002
  2  4.33928e-05
  3  29.0256
  4  8.54986
  5  0.000142068
  6  30.1334
  7  2.84896e-05
  8  13.2373
  9  3.9049e-05
  10  34.6929
  11  5.4681e-05
  12  46.1114
  13  2.90538e-05
  14  3.7179e-05
  15  0.000288766
  16  3.9838e-05
  17  0.178469
  18  1.8912e-05
  19  2.28525
  20  4.47489
  21  0.00290921
  22  0.29271
  23  0.1635
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  7.180e-01  1.635e-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.481e+00  2.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.00
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 6.05e-08 +/- 3.67e-08
Energy Flux (Fixed Index): 3.18e-05 +/- 1.93e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5406.0633869
delta logL = 2.02111192288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5405.92999264
delta logL = 2.1545061806

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    85.862       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2159       1.0000          .0000       10.000    
     3 'Normalizat'    1.5204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70934       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=   5405.930     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      219 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     85.877        65.473        .50523E-05   -.34466E-04
   2  Index         1.2160        .43827        .17130E-04   -.18052E-05
   3  Normalizat    1.5204        .22922       -.54257E-06   -.27283E-03
   4  Prefactor     .70932        .13127       -.20538E-06   -.28859E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 85.8771
  Index      = 1.21604
  Normalizat = 1.5204
  Prefactor  = 0.709319
 **********
 **   18 **HESSE 
 **********

 FCN=   5405.930     FROM HESSE     STATUS=OK            27 CALLS      246 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     85.877        64.651        .43355E-04   -1.3852    
   2  Index         1.2160        .43292        .80748E-02   -.85839    
   3  Normalizat    1.5204        .27276        .26783E-03   -.77207    
   4  Prefactor     .70932        .15610        .21347E-03   -1.0316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07909e-10
Minuit parameter uncertainties:
  1  64.7042
  2  0.434191
  3  0.273027
  4  0.156201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698821': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5405.9299926
delta logL = 2.15450622686

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  8.588e+01  6.470e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.216e+00  4.342e-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:  7.093e-01  1.562e-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.520e+00  2.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.29
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.22 +/- 0.43
Photon Flux (Free Index): 1.79e-08 +/- 1.66e-08
Energy Flux (Free Index): 1.42e-04 +/- 1.37e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/698821/cmap_HighResolution_423100801_423360001_4FGL_J1440.9+0609_daily_bin709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.05e-08', energy_flux2='1.42e-04', photon_flux_error='3.67e-08', dlogl='2.15e+00', energy_flux='3.18e-05', photon_flux2='1.79e-08', job_status='DONE', time_completed='2021-09-10 05:08:09.896934', photon_index_error2='0.43', photon_index2='1.22', ts='16.00', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='1.37e-04', EG='1.48', time_epoch_completed='1631275689.9', return_code='0', job_id='698821', GAL2='0.71', EG2='1.52', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='1.66e-08', ts2='20.29', photon_index='2.12' WHERE bin_id='709' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:08:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 698821: <4FGL_J1440.9+0609_daily_bin709> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin709 220.242 6.1631 423100801 423360001 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 :                                   506.10 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             256.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            690 sec.

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

