/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 221 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin556
RA = 220.242, Dec = 6.1631
tmin = 383443201, tmax = 383702401
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='698587', job_status='RUN', time_executed='2021-09-10 05:00:17.224560', time_epoch_executed='1631275217.22' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='556'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698587

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698587/ft1_4FGL_J1440.9+0609_daily_bin556.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698587/ft2_4FGL_J1440.9+0609_daily_bin556.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698587/ft1_4FGL_J1440.9+0609_daily_bin556.fits outfile=/scratch/kocevski/698587/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin556.fits ra=220.242 dec=6.1631 rad=12.0 tmin=383443201.0 tmax=383702401.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 3.39
user 3.16
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698587/ft1_filtered_4FGL_J1440.9+0609_daily_bin556.fits evtable="EVENTS" scfile=/scratch/kocevski/698587/ft2_4FGL_J1440.9+0609_daily_bin556.fits sctable="SC_DATA" expcube=/scratch/kocevski/698587/ltcube_383443201_383702401_4FGL_J1440.9+0609_daily_bin556.fits outfile=/scratch/kocevski/698587/expmap_383443201_383702401_4FGL_J1440.9+0609_daily_bin556.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/698587/ltcube_383443201_383702401_4FGL_J1440.9+0609_daily_bin556.fits
.....................!
real 192.38
user 186.35
sys 5.63

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/698587/ft1_filtered_4FGL_J1440.9+0609_daily_bin556.fits scfile=/scratch/kocevski/698587/ft2_4FGL_J1440.9+0609_daily_bin556.fits outfile=/scratch/kocevski/698587/cmap_383443201_383702401_4FGL_J1440.9+0609_daily_bin556.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/698587/ft1_filtered_4FGL_J1440.9+0609_daily_bin556.fits scfile=/scratch/kocevski/698587/ft2_4FGL_J1440.9+0609_daily_bin556.fits outfile=/scratch/kocevski/698587/cmap_HighResolution_383443201_383702401_4FGL_J1440.9+0609_daily_bin556.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.997       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7488       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.005       1.0000         .10000E-03   10000.    
     4 'norm      '    11.794       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .38375E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    56.077       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18876E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    65.698       1.0000         .10000E-03   10000.    
    10 'Prefactor '    52.653       1.0000         .10000E-03   10000.    
    11 'norm      '    12.177       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .48917       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.4642       1.0000         .10000E-03   10000.    
    20 'norm      '    3.2084       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.193       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0428       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1144       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=   8104.530     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2618 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.981        19.061       -.27540E-06   -.22926E-04
   2  Prefactor     2.8527        51.821        .12404E-05   -.94567E-05
   3  Prefactor     30.024        26.682        .12574E-06    .33177E-04
   4  norm          11.798        10.447       -.69559E-07   -.41489E-04
   5  Prefactor     .10000E-03    66.644        .11295E-05** at limit **
   6  norm          56.095        34.147        .31556E-07    .91270E-05
   7  Prefactor     .10000E-03    3.1577        .62151E-08** at limit **
   8  Prefactor     .10010E-03    4.3650       -.63547E-06** at limit **
   9  Prefactor     65.706        49.712        .74468E-07    .16337E-04
  10  Prefactor     52.715        51.791        .23716E-06    .10684E-03
  11  norm          12.135        26.017       -.26989E-07   -.92995E-05
  12  Prefactor     .10000E-03    7.5590       -.16029E-07** at limit **
  13  Prefactor     .10000E-03    10.339        .91022E-07** at limit **
  14  Prefactor     .10000E-03    3.9896       -.11262E-07** at limit **
  15  Prefactor     .10000E-03    11.713       -.34586E-07** at limit **
  16  Prefactor     .10000E-03    36.737       -.28008E-07** at limit **
  17  norm          .48926        .17078        .15165E-07    .91190E-04
  18  norm          .10000E-03    .62103        .13811E-07** at limit **
  19  norm          4.4635        4.3389       -.18166E-05   -.14272E-03
  20  norm          3.2090        2.9207        .68377E-07    .14844E-04
  21  Prefactor     13.195        16.277       -.28991E-08   -.41273E-06
  22  Normalizat    1.0425        .21371       -.85386E-06    .80048E-04
  23  Prefactor     1.1143        .12863        .46082E-06    .16291E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.981
  Prefactor  = 2.85267
  Prefactor  = 30.0241
  norm       = 11.7982
  Prefactor  = 0.0001
  norm       = 56.0951
  Prefactor  = 0.0001
  Prefactor  = 0.000100102
  Prefactor  = 65.7062
  Prefactor  = 52.7154
  norm       = 12.135
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.489257
  norm       = 0.0001
  norm       = 4.46346
  norm       = 3.20898
  Prefactor  = 13.1951
  Normalizat = 1.04254
  Prefactor  = 1.11432
 **********
 **   18 **HESSE 
 **********

 FCN=   8104.530     FROM HESSE     STATUS=OK           376 CALLS     2994 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.981        18.887        .85403E-04   -1.4770    
   2  Prefactor     2.8527        50.888        .24554E-03   -1.5370    
   3  Prefactor     30.024        26.717        .73144E-04   -1.4612    
   4  norm          11.798        10.450        .11665E-03   -1.5021    
   5  Prefactor     .10000E-03    68.229        .42565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          56.095        34.098        .53568E-04   -1.4209    
   7  Prefactor     .10000E-03    3.1887        .15615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10010E-03    41.756        .35054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     65.706        49.727        .24757E-03   -1.4085    
  10  Prefactor     52.715        51.540        .55273E-04   -1.4255    
  11  norm          12.135        25.922        .11480E-03   -1.5011    
  12  Prefactor     .10000E-03    7.5644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9941        .17561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    37.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .48926        .16990        .21082E-04   -1.5568    
  18  norm          .10000E-03    .62781        .69230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.4635        4.3483        .90232E-03   -1.5285    
  20  norm          3.2090        2.9179        .14229E-03   -1.5350    
  21  Prefactor     13.195        16.277        .11028E-03   -1.4981    
  22  Normalizat    1.0425        .24823        .33268E-03   -.91619    
  23  Prefactor     1.1143        .15093        .19955E-03   -.89010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34794e-09
Minuit parameter uncertainties:
  1  18.892
  2  24.1205
  3  26.7276
  4  10.4514
  5  7.62272e-05
  6  34.1098
  7  3.10106e-06
  8  0.00413277
  9  49.758
  10  51.5835
  11  25.9458
  12  1.94339e-06
  13  3.88291e-06
  14  5.57527e-07
  15  1.81008e-06
  16  1.95459e-05
  17  0.169899
  18  2.00135e-07
  19  4.34857
  20  2.91799
  21  16.2825
  22  0.248509
  23  0.150991
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  5.272e+01  5.158e+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:  1.114e+00  1.510e-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.043e+00  2.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.43
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 5.58e-08 +/- 5.46e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 2.87e-05

TS (Fixed Index): 3.43
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698587/likelihoodResults_383443201_383702401_4FGL_J1440.9+0609_daily_bin556.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): 0
logL (Free Index) = 8104.52453753
delta logL = 0.00538409778437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8104.51611068
delta logL = 0.0138109547061

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.256       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2069       1.0000          .0000       10.000    
     3 'Normalizat'    1.0364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1166       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=   8104.516     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      291 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.180        57.946        .58953E-04    .53996E-05
   2  Index         2.2081        .61599        .55473E-02    .34713E-04
   3  Normalizat    1.0360        .24597        .33360E-03    .80086E-05
   4  Prefactor     1.1168        .15077        .19935E-03    .19218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.1798
  Index      = 2.20809
  Normalizat = 1.03604
  Prefactor  = 1.1168
 **********
 **   18 **HESSE 
 **********

 FCN=   8104.516     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.180        50.680        .23581E-05   -1.4348    
   2  Index         2.2081        .53843        .22189E-03   -.59243    
   3  Normalizat    1.0360        .24514        .13344E-04   -.91832    
   4  Prefactor     1.1168        .15056        .79742E-05   -.88931    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84481e-13
Minuit parameter uncertainties:
  1  50.7271
  2  0.539956
  3  0.245403
  4  0.150621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698587': 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) = 8104.51610742
delta logL = 0.0138142117648

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  4.618e+01  5.073e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.208e+00  5.400e-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.117e+00  1.506e-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.036e+00  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.49
Ra Dec: 220.242 6.163
Photon Index (Free Index): 2.21 +/- 0.54
Photon Flux (Free Index): 6.08e-08 +/- 5.00e-08
Energy Flux (Free Index): 2.69e-05 +/- 2.25e-05

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/698587/cmap_HighResolution_383443201_383702401_4FGL_J1440.9+0609_daily_bin556.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='5.58e-08', energy_flux2='2.69e-05', photon_flux_error='5.46e-08', dlogl='1.38e-02', energy_flux='2.93e-05', photon_flux2='6.08e-08', job_status='DONE', time_completed='2021-09-10 05:11:39.179396', photon_index_error2='0.54', photon_index2='2.21', ts='3.43', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='2.25e-05', EG='1.04', time_epoch_completed='1631275899.18', return_code='0', job_id='698587', GAL2='1.12', EG2='1.04', return_code2='0', energy_flux_error='2.87e-05', photon_flux_error2='5.00e-08', ts2='3.49', photon_index='2.12' WHERE bin_id='556' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:11:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 698587: <4FGL_J1440.9+0609_daily_bin556> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin556 220.242 6.1631 383443201 383702401 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 :                                   681.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            917 sec.

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

