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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin120
RA = 220.242, Dec = 6.1631
tmin = 270432001, tmax = 270691201
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='696894', job_status='RUN', time_executed='2021-09-10 04:55:24.471006', time_epoch_executed='1631274924.47' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696894

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696894/ft1_4FGL_J1440.9+0609_daily_bin120.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696894/ft2_4FGL_J1440.9+0609_daily_bin120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696894/ft1_4FGL_J1440.9+0609_daily_bin120.fits outfile=/scratch/kocevski/696894/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin120.fits ra=220.242 dec=6.1631 rad=12.0 tmin=270432001.0 tmax=270691201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 1.64
user 1.45
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696894/ft1_filtered_4FGL_J1440.9+0609_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/696894/ft2_4FGL_J1440.9+0609_daily_bin120.fits sctable="SC_DATA" expcube=/scratch/kocevski/696894/ltcube_270432001_270691201_4FGL_J1440.9+0609_daily_bin120.fits outfile=/scratch/kocevski/696894/expmap_270432001_270691201_4FGL_J1440.9+0609_daily_bin120.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/696894/ltcube_270432001_270691201_4FGL_J1440.9+0609_daily_bin120.fits
.....................!
real 190.96
user 185.18
sys 5.41

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/696894/ft1_filtered_4FGL_J1440.9+0609_daily_bin120.fits scfile=/scratch/kocevski/696894/ft2_4FGL_J1440.9+0609_daily_bin120.fits outfile=/scratch/kocevski/696894/cmap_270432001_270691201_4FGL_J1440.9+0609_daily_bin120.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696894/ft1_filtered_4FGL_J1440.9+0609_daily_bin120.fits scfile=/scratch/kocevski/696894/ft2_4FGL_J1440.9+0609_daily_bin120.fits outfile=/scratch/kocevski/696894/cmap_HighResolution_270432001_270691201_4FGL_J1440.9+0609_daily_bin120.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/696894/ft1_filtered_4FGL_J1440.9+0609_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/696894/ft2_4FGL_J1440.9+0609_daily_bin120.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696894/Model_4FGL_J1440.9+0609_daily_bin120.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/696894/ft1_filtered_4FGL_J1440.9+0609_daily_bin120.fits.....................!
real 70.76
user 69.19
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5460       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.7216       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9446       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    87.545       1.0000         .10000E-03   10000.    
    11 'norm      '    3.7027       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7061       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.943       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .62222E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    1.6337       1.0000         .10000E-03   10000.    
    18 'norm      '    .60788       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0800       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0322       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=   10315.16     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2228 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5444        10.871        .12241E-05    .19818E-04
   2  Prefactor     .10000E-03    7.2317       -.53910E-07** at limit **
   3  Prefactor     6.7217        8.9033        .98017E-07   -.20285E-05
   4  norm          .10000E-03    4.1741       -.98619E-08** at limit **
   5  Prefactor     .10000E-03    16.242        .20658E-06** at limit **
   6  norm          .10000E-03    7.5615       -.11538E-05** at limit **
   7  Prefactor     2.9453        4.0281        .34537E-06   -.20911E-05
   8  Prefactor     .10000E-03    1.5222       -.27368E-07** at limit **
   9  Prefactor     .10000E-03    81.738        .69687E-06** at limit **
  10  Prefactor     87.649        56.910        .15114E-06    .10369E-04
  11  norm          3.6945        48.316        .32117E-05   -.12022E-04
  12  Prefactor     .10000E-03    7.4820        .12449E-05** at limit **
  13  Prefactor     .10000E-03    10.290        .44038E-06** at limit **
  14  Prefactor     3.7045        6.4609       -.15992E-07   -.37144E-04
  15  Prefactor     11.933        19.561       -.24260E-06   -.73353E-04
  16  Prefactor     .10018E-03    28.881        .12399E-05** at limit **
  17  norm          1.6337        .23802        .85030E-08   -.76562E-03
  18  norm          .60768        1.3127        .58812E-06    .10793E-03
  19  norm          .10000E-03    2.0958       -.14276E-07** at limit **
  20  norm          .10000E-03    .99244       -.37768E-07** at limit **
  21  Prefactor     .10000E-03    10.545       -.40065E-06** at limit **
  22  Normalizat    1.0801        .18275       -.19473E-05   -.39879E-04
  23  Prefactor     1.0322        .10900        .63412E-06   -.30403E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.5444
  Prefactor  = 0.0001
  Prefactor  = 6.72173
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.94528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 87.6492
  norm       = 3.69446
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.70454
  Prefactor  = 11.9327
  Prefactor  = 0.000100181
  norm       = 1.63366
  norm       = 0.60768
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.08008
  Prefactor  = 1.03221
 **********
 **   18 **HESSE 
 **********

 FCN=   10315.16     FROM HESSE     STATUS=OK           376 CALLS     2604 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5444        10.885        .13712E-03   -1.5123    
   2  Prefactor     .10000E-03    7.2438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.7217        8.8997        .15477E-03   -1.5189    
   4  norm          .10000E-03    4.1840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.5843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9453        4.0176        .23138E-03   -1.5365    
   8  Prefactor     .10000E-03    1.5338        .12234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    82.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     87.649        57.126        .21470E-03   -1.3833    
  11  norm          3.6945        48.250        .20987E-03   -1.5324    
  12  Prefactor     .10000E-03    7.5338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7045        6.4451        .20978E-03   -1.5323    
  15  Prefactor     11.933        19.598        .11592E-03   -1.5017    
  16  Prefactor     .10018E-03    27.245        .15382       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.6337        .23817        .18061E-04   -1.5452    
  18  norm          .60768        1.3048        .16637E-03   -1.5552    
  19  norm          .10000E-03    2.1005        .14358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.0070        .98793E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0801        .20782        .31727E-03   -.90394    
  23  Prefactor     1.0322        .12605        .19987E-03   -.91663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67073e-10
Minuit parameter uncertainties:
  1  10.8873
  2  1.79455e-06
  3  8.90148
  4  1.11783e-06
  5  1.84214e-05
  6  9.77382e-06
  7  4.01796
  8  4.9298e-07
  9  4.46677e-05
  10  57.1618
  11  26.7287
  12  1.57371e-05
  13  4.13299e-06
  14  6.44628
  15  19.609
  16  0.00444442
  17  0.238166
  18  1.30491
  19  7.91784e-08
  20  9.29053e-07
  21  3.86785e-06
  22  0.207977
  23  0.126082
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  8.765e+01  5.716e+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.032e+00  1.261e-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.080e+00  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.83
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 9.28e-08 +/- 6.05e-08
Energy Flux (Fixed Index): 4.88e-05 +/- 3.18e-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) = 10313.8253588
delta logL = 1.33137873564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10313.8014851
delta logL = 1.35525242138

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.430       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7740       1.0000          .0000       10.000    
     3 'Normalizat'    .98783       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0670       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10313.80     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      262 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.373        108.19        .19123E-02    .78681E-03
   2  Index         2.7747        1.4595        .64999E-01    .39360E-03
   3  Normalizat    .98787        .95319E-01    .74476E-01    .28588E-03
   4  Prefactor     1.0671        .47335E-01    .39000E-01   -.20887E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.3727
  Index      = 2.77469
  Normalizat = 0.987866
  Prefactor  = 1.06705
 **********
 **   18 **HESSE 
 **********

 FCN=   10313.80     FROM HESSE     STATUS=OK            33 CALLS      295 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.373        57.968        .38246E-03   -1.4661    
   2  Index         2.7747        .88048        .26356E-02   -.46124    
   3  Normalizat    .98787        .22822        .32955E-03   -.93438    
   4  Prefactor     1.0671        .13350        .19686E-03   -.90527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42536e-10
Minuit parameter uncertainties:
  1  58.0876
  2  0.886253
  3  0.228441
  4  0.133541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696894': 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) = 10313.8014826
delta logL = 1.35525488794

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.737e+01  5.809e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.775e+00  8.863e-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.067e+00  1.335e-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:  9.879e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.91
Ra Dec: 220.242 6.163
Photon Index (Free Index): 2.77 +/- 0.89
Photon Flux (Free Index): 1.63e-07 +/- 8.06e-08
Energy Flux (Free Index): 3.71e-05 +/- 1.56e-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/696894/cmap_HighResolution_270432001_270691201_4FGL_J1440.9+0609_daily_bin120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.28e-08', energy_flux2='3.71e-05', photon_flux_error='6.05e-08', dlogl='1.36e+00', energy_flux='4.88e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2021-09-10 05:06:24.371384', photon_index_error2='0.89', photon_index2='2.77', ts='12.83', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.56e-05', EG='1.08', time_epoch_completed='1631275584.37', return_code='0', job_id='696894', GAL2='1.07', EG2='0.99', return_code2='0', energy_flux_error='3.18e-05', photon_flux_error2='8.06e-08', ts2='15.91', photon_index='2.12' WHERE bin_id='120' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:06:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 696894: <4FGL_J1440.9+0609_daily_bin120> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin120 220.242 6.1631 270432001 270691201 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 :                                   660.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            907 sec.

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

