/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 103 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 = 7680
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin256
RA = 220.242, Dec = 6.1631
tmin = 305683201, tmax = 305942401
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='697115', job_status='RUN', time_executed='2021-09-10 04:53:29.099427', time_epoch_executed='1631274809.1' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697115

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697115/ft1_4FGL_J1440.9+0609_daily_bin256.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697115/ft2_4FGL_J1440.9+0609_daily_bin256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697115/ft1_4FGL_J1440.9+0609_daily_bin256.fits outfile=/scratch/kocevski/697115/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin256.fits ra=220.242 dec=6.1631 rad=12.0 tmin=305683201.0 tmax=305942401.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.79
user 4.56
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697115/ft1_filtered_4FGL_J1440.9+0609_daily_bin256.fits evtable="EVENTS" scfile=/scratch/kocevski/697115/ft2_4FGL_J1440.9+0609_daily_bin256.fits sctable="SC_DATA" expcube=/scratch/kocevski/697115/ltcube_305683201_305942401_4FGL_J1440.9+0609_daily_bin256.fits outfile=/scratch/kocevski/697115/expmap_305683201_305942401_4FGL_J1440.9+0609_daily_bin256.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/697115/ltcube_305683201_305942401_4FGL_J1440.9+0609_daily_bin256.fits
.....................!
real 193.21
user 187.13
sys 5.67

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/697115/ft1_filtered_4FGL_J1440.9+0609_daily_bin256.fits scfile=/scratch/kocevski/697115/ft2_4FGL_J1440.9+0609_daily_bin256.fits outfile=/scratch/kocevski/697115/cmap_305683201_305942401_4FGL_J1440.9+0609_daily_bin256.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697115/ft1_filtered_4FGL_J1440.9+0609_daily_bin256.fits scfile=/scratch/kocevski/697115/ft2_4FGL_J1440.9+0609_daily_bin256.fits outfile=/scratch/kocevski/697115/cmap_HighResolution_305683201_305942401_4FGL_J1440.9+0609_daily_bin256.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.35
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    18.543       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.7918       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4248       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.387       1.0000         .10000E-03   10000.    
    11 'norm      '    2.6145       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.216       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.665       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3968       1.0000         .10000E-03   10000.    
    18 'norm      '    .39582E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.5568       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2331       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78815       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=   8262.918     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2494 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4407       -.14107E-05** at limit **
   2  Prefactor     .10000E-03    8.7631        .19056E-07** at limit **
   3  Prefactor     .10000E-03    15.576        .20308E-05** at limit **
   4  norm          18.543        12.196        .12134E-07   -.80465E-05
   5  Prefactor     .10000E-03    4.2057        .46877E-07** at limit **
   6  norm          4.7916        9.6056        .25359E-05   -.40006E-03
   7  Prefactor     5.4234        6.0793        .19343E-05   -.81131E-03
   8  Prefactor     .10000E-03    3.4780       -.16494E-06** at limit **
   9  Prefactor     .10000E-03    15.000       -.54923E-06** at limit **
  10  Prefactor     20.388        22.645       -.44207E-07    .24155E-04
  11  norm          2.6141        10.033        .43573E-06   -.50089E-04
  12  Prefactor     .10000E-03    31.456       -.12223E-05** at limit **
  13  Prefactor     37.216        24.562       -.67707E-07   -.27810E-04
  14  Prefactor     .10000E-03    9.0062       -.24716E-05** at limit **
  15  Prefactor     .10000E-03    6.9144        .30188E-05** at limit **
  16  Prefactor     26.661        42.776       -.13761E-05   -.84319E-04
  17  norm          1.3968        .24309        .44892E-08   -.15632E-03
  18  norm          .36718E-01    .70605        .14856E-06   -.39608E-03
  19  norm          .10000E-03    1.3797        .15593E-07** at limit **
  20  norm          5.5574        3.2614       -.32991E-07   -.21997E-03
  21  Prefactor     .10000E-03    8.8023       -.48678E-07** at limit **
  22  Normalizat    1.2331        .18407       -.40225E-06   -.30574E-04
  23  Prefactor     .78817        .10723       -.90217E-07   -.57963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 18.5428
  Prefactor  = 0.0001
  norm       = 4.79163
  Prefactor  = 5.42337
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.3882
  norm       = 2.61412
  Prefactor  = 0.0001
  Prefactor  = 37.2163
  Prefactor  = 0.000100002
  Prefactor  = 0.000100004
  Prefactor  = 26.6609
  norm       = 1.39678
  norm       = 0.0367185
  norm       = 0.0001
  norm       = 5.55744
  Prefactor  = 0.0001
  Normalizat = 1.23312
  Prefactor  = 0.788169
 **********
 **   18 **HESSE 
 **********

 FCN=   8262.918     FROM HESSE     STATUS=OK           370 CALLS     2864 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.7906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          18.543        12.200        .93011E-04   -1.4846    
   5  Prefactor     .10000E-03    4.2072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.7916        9.8752        .91895E-03   -1.5270    
   7  Prefactor     5.4234        6.3479        .86264E-03   -1.5242    
   8  Prefactor     .10000E-03    3.5404        .16556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.388        22.814        .88706E-04   -1.4805    
  11  norm          2.6141        10.078        .25226E-03   -1.5385    
  12  Prefactor     .10000E-03    31.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.216        24.622        .65696E-04   -1.4487    
  14  Prefactor     .10000E-03    9.3766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.5574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.661        42.988        .77579E-04   -1.4675    
  17  norm          1.3968        .24346        .17708E-04   -1.5472    
  18  norm          .36718E-01    20.885        .14374E-02   -1.5670    
  19  norm          .10000E-03    1.3800        .10427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.5574        3.2776        .12086E-03   -1.5236    
  21  Prefactor     .10000E-03    8.8053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2331        .21953        .28490E-03   -.85586    
  23  Prefactor     .78817        .12734        .20568E-03   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87869e-09
Minuit parameter uncertainties:
  1  0.00013883
  2  2.49011e-06
  3  0.000318965
  4  12.2016
  5  3.64339e-06
  6  9.87854
  7  6.34869
  8  1.27106e-05
  9  8.64232e-05
  10  22.8236
  11  10.0849
  12  0.000245637
  13  24.6291
  14  0.000282002
  15  0.000340846
  16  43.0379
  17  0.243462
  18  1.74964
  19  7.08878e-07
  20  3.27766
  21  6.05955e-06
  22  0.219692
  23  0.127392
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.039e+01  2.282e+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.882e-01  1.274e-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.233e+00  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.85
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.16e-08 +/- 2.42e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.27e-05

TS (Fixed Index): 2.85
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 7.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/697115/likelihoodResults_305683201_305942401_4FGL_J1440.9+0609_daily_bin256.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) = 8262.44170585
delta logL = 0.476647379233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8262.43999331
delta logL = 0.478359922792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.572       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5712       1.0000          .0000       10.000    
     3 'Normalizat'    1.2433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78475       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=   8262.440     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      311 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.580        35.017        .32693E-03    .77198E-05
   2  Index         1.5711        .52574        .10635E-01    .20907E-03
   3  Normalizat    1.2433        .21231        .28390E-03   -.10412E-04
   4  Prefactor     .78479        .12618        .20605E-03    .44139E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.5796
  Index      = 1.57107
  Normalizat = 1.24326
  Prefactor  = 0.784792
 **********
 **   18 **HESSE 
 **********

 FCN=   8262.440     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.580        34.763        .13077E-04   -1.4481    
   2  Index         1.5711        .52213        .21270E-02   -.75568    
   3  Normalizat    1.2433        .21251        .11356E-04   -.85276    
   4  Prefactor     .78479        .12631        .82420E-05   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09079e-12
Minuit parameter uncertainties:
  1  34.7819
  2  0.523943
  3  0.212658
  4  0.126357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697115': 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) = 8262.4399931
delta logL = 0.478360134142

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.758e+01  3.478e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.571e+00  5.239e-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.848e-01  1.264e-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.243e+00  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.81
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.57 +/- 0.52
Photon Flux (Free Index): 1.22e-08 +/- 1.43e-08
Energy Flux (Free Index): 3.05e-05 +/- 4.17e-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/697115/cmap_HighResolution_305683201_305942401_4FGL_J1440.9+0609_daily_bin256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.81e-03', comment='SUCCESS', photon_flux='2.16e-08', energy_flux2='3.05e-05', photon_flux_error='2.42e-08', dlogl='4.78e-01', energy_flux='1.13e-05', photon_flux2='1.22e-08', job_status='DONE', time_completed='2021-09-10 05:04:46.711185', photon_index_error2='0.52', photon_index2='1.57', ts='2.85', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='7.67e-08', energy_flux_error2='4.17e-05', EG='1.23', time_epoch_completed='1631275486.71', return_code='0', job_id='697115', GAL2='0.78', EG2='1.24', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='1.43e-08', ts2='3.81', photon_index='2.12' WHERE bin_id='256' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:04:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 697115: <4FGL_J1440.9+0609_daily_bin256> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin256 220.242 6.1631 305683201 305942401 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 :                                   675.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             301.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            792 sec.

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

