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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin822
RA = 220.242, Dec = 6.1631
tmin = 452390401, tmax = 452649601
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='700032', job_status='RUN', time_executed='2021-09-10 05:03:27.736430', time_epoch_executed='1631275407.74' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='822'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700032

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700032/ft1_4FGL_J1440.9+0609_daily_bin822.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700032/ft2_4FGL_J1440.9+0609_daily_bin822.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700032/ft1_4FGL_J1440.9+0609_daily_bin822.fits outfile=/scratch/kocevski/700032/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin822.fits ra=220.242 dec=6.1631 rad=12.0 tmin=452390401.0 tmax=452649601.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/700032/ft2_4FGL_J1440.9+0609_daily_bin822.fits

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700032/ft1_filtered_4FGL_J1440.9+0609_daily_bin822.fits" evtable="EVENTS" scfile=/scratch/kocevski/700032/ft2_4FGL_J1440.9+0609_daily_bin822.fits sctable="SC_DATA" outfile=/scratch/kocevski/700032/ltcube_452390401_452649601_4FGL_J1440.9+0609_daily_bin822.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/700032/ft2_4FGL_J1440.9+0609_daily_bin822.fits
.....................!
real 11.95
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700032/ft1_filtered_4FGL_J1440.9+0609_daily_bin822.fits evtable="EVENTS" scfile=/scratch/kocevski/700032/ft2_4FGL_J1440.9+0609_daily_bin822.fits sctable="SC_DATA" expcube=/scratch/kocevski/700032/ltcube_452390401_452649601_4FGL_J1440.9+0609_daily_bin822.fits outfile=/scratch/kocevski/700032/expmap_452390401_452649601_4FGL_J1440.9+0609_daily_bin822.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/700032/ltcube_452390401_452649601_4FGL_J1440.9+0609_daily_bin822.fits
.....................!
real 190.03
user 185.03
sys 4.64

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/700032/ft1_filtered_4FGL_J1440.9+0609_daily_bin822.fits scfile=/scratch/kocevski/700032/ft2_4FGL_J1440.9+0609_daily_bin822.fits outfile=/scratch/kocevski/700032/cmap_452390401_452649601_4FGL_J1440.9+0609_daily_bin822.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700032/ft1_filtered_4FGL_J1440.9+0609_daily_bin822.fits scfile=/scratch/kocevski/700032/ft2_4FGL_J1440.9+0609_daily_bin822.fits outfile=/scratch/kocevski/700032/cmap_HighResolution_452390401_452649601_4FGL_J1440.9+0609_daily_bin822.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4241       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1773       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.157       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2216       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.563       1.0000         .10000E-03   10000.    
     6 'norm      '    .22317E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5977       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.510       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.281       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    59.552       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0875       1.0000         .10000E-03   10000.    
    18 'norm      '    6.3141       1.0000         .10000E-03   10000.    
    19 'norm      '    3.0323       1.0000         .10000E-03   10000.    
    20 'norm      '    1.9272       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0112       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0330       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=   7061.091     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2606 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4237        11.243       -.12328E-06   -.55943E-04
   2  Prefactor     4.1699        29.398        .61594E-05   -.10311E-03
   3  Prefactor     22.148        36.470       -.64132E-05    .10412E-03
   4  norm          6.2213        10.175       -.24213E-05   -.12283E-02
   5  Prefactor     30.581        31.029        .43125E-05   -.15347E-03
   6  norm          .10001E-03    159.44       -.18460E-05** at limit **
   7  Prefactor     7.5958        8.8353        .76016E-06   -.10053E-03
   8  Prefactor     .10000E-03    4.1896        .31525E-07** at limit **
   9  Prefactor     .10000E-03    19.660        .61647E-05** at limit **
  10  Prefactor     32.512        25.782       -.13214E-05    .57786E-04
  11  norm          .10000E-03    5.6495       -.44137E-07** at limit **
  12  Prefactor     40.266        33.195       -.11821E-05    .44361E-04
  13  Prefactor     .10000E-03    6.6458        .15004E-06** at limit **
  14  Prefactor     .10000E-03    10.104       -.56670E-06** at limit **
  15  Prefactor     59.541        34.392        .30695E-07   -.69434E-05
  16  Prefactor     .10000E-03    15.044        .71433E-05** at limit **
  17  norm          1.0875        .23546        .55531E-08   -.41665E-05
  18  norm          6.3141        2.7954        .23426E-07   -.12187E-03
  19  norm          3.0321        4.1176       -.54946E-06    .38361E-04
  20  norm          1.9274        3.4484       -.45930E-06   -.69400E-03
  21  Prefactor     .10000E-03    17.472       -.12460E-04** at limit **
  22  Normalizat    1.0115        .23241       -.92195E-06    .21606E-04
  23  Prefactor     1.0329        .13255        .49133E-06   -.31583E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4237
  Prefactor  = 4.1699
  Prefactor  = 22.1476
  norm       = 6.22125
  Prefactor  = 30.5806
  norm       = 0.000100007
  Prefactor  = 7.59576
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 32.512
  norm       = 0.0001
  Prefactor  = 40.2656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.5406
  Prefactor  = 0.000100001
  norm       = 1.08749
  norm       = 6.31409
  norm       = 3.03214
  norm       = 1.92745
  Prefactor  = 0.000100004
  Normalizat = 1.01151
  Prefactor  = 1.03291
 **********
 **   18 **HESSE 
 **********

 FCN=   7061.091     FROM HESSE     STATUS=OK           368 CALLS     2974 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4237        11.240        .13055E-03   -1.5094    
   2  Prefactor     4.1699        29.159        .19719E-03   -1.5300    
   3  Prefactor     22.148        36.438        .85094E-04   -1.4766    
   4  norm          6.2213        10.977        .80470E-03   -1.5209    
   5  Prefactor     30.581        30.921        .72474E-04   -1.4601    
   6  norm          .10001E-03    164.02        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.5958        8.8059        .14549E-03   -1.5157    
   8  Prefactor     .10000E-03    4.2177        .16777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.512        25.781        .70277E-04   -1.4567    
  11  norm          .10000E-03    5.6524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.266        33.229        .63156E-04   -1.4438    
  13  Prefactor     .10000E-03    6.6517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     59.541        34.386        .51990E-04   -1.4163    
  16  Prefactor     .10000E-03    14.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0875        .23577        .18211E-04   -1.5499    
  18  norm          6.3141        2.7905        .88103E-04   -1.5205    
  19  norm          3.0321        4.1107        .19378E-03   -1.5360    
  20  norm          1.9274        3.4579        .20095E-03   -1.5430    
  21  Prefactor     .10000E-03    16.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0115        .27439        .34101E-03   -.92646    
  23  Prefactor     1.0329        .15642        .20361E-03   -.91640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97575e-09
Minuit parameter uncertainties:
  1  11.2421
  2  22.0685
  3  36.475
  4  10.9803
  5  30.9369
  6  0.00211549
  7  8.80744
  8  6.14763e-06
  9  0.000286913
  10  25.7895
  11  6.14401e-06
  12  33.2444
  13  2.43659e-06
  14  2.7499e-05
  15  34.3979
  16  0.000283777
  17  0.235768
  18  2.79058
  19  4.11111
  20  3.45826
  21  0.000545825
  22  0.274774
  23  0.156493
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.251e+01  2.579e+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.033e+00  1.565e-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.012e+00  2.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.73
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 3.44e-08 +/- 2.73e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.44e-05

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

Saving results to:
/scratch/kocevski/700032/likelihoodResults_452390401_452649601_4FGL_J1440.9+0609_daily_bin822.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) = 7060.69988508
delta logL = 0.391014816914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7060.37885842
delta logL = 0.712041478397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.054       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5067       1.0000          .0000       10.000    
     3 'Normalizat'    1.0314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0250       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=   7060.379     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      284 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.067        49.791        .24691E-03    .18832E-04
   2  Index         1.5069        .44894        .79414E-02    .10833E-03
   3  Normalizat    1.0316        .25189        .33793E-03   -.94197E-05
   4  Prefactor     1.0249        .15281        .20421E-03    .80166E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.0668
  Index      = 1.50689
  Normalizat = 1.03158
  Prefactor  = 1.02489
 **********
 **   18 **HESSE 
 **********

 FCN=   7060.379     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.067        49.509        .98763E-05   -1.4081    
   2  Index         1.5069        .44647        .15883E-02   -.77347    
   3  Normalizat    1.0316        .25209        .13517E-04   -.91980    
   4  Prefactor     1.0249        .15294        .81685E-05   -.91904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56868e-12
Minuit parameter uncertainties:
  1  49.5402
  2  0.447635
  3  0.252384
  4  0.153007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700032': 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) = 7060.37885784
delta logL = 0.712042061331

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  6.607e+01  4.954e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.507e+00  4.476e-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.025e+00  1.530e-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.032e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.16
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.51 +/- 0.45
Photon Flux (Free Index): 1.93e-08 +/- 1.76e-08
Energy Flux (Free Index): 5.98e-05 +/- 7.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/700032/cmap_HighResolution_452390401_452649601_4FGL_J1440.9+0609_daily_bin822.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.84e-03', comment='SUCCESS', photon_flux='3.44e-08', energy_flux2='5.98e-05', photon_flux_error='2.73e-08', dlogl='7.12e-01', energy_flux='1.81e-05', photon_flux2='1.93e-08', job_status='DONE', time_completed='2021-09-10 05:13:49.546525', photon_index_error2='0.45', photon_index2='1.51', ts='3.73', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='7.22e-05', EG='1.01', time_epoch_completed='1631276029.55', return_code='0', job_id='700032', GAL2='1.02', EG2='1.03', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='1.76e-08', ts2='5.16', photon_index='2.12' WHERE bin_id='822' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:13:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 700032: <4FGL_J1440.9+0609_daily_bin822> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin822 220.242 6.1631 452390401 452649601 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 :                                   621.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             295.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            757 sec.

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

