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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin215
RA = 220.242, Dec = 6.1631
tmin = 295056001, tmax = 295315201
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='697049', job_status='RUN', time_executed='2021-09-10 04:54:23.924178', time_epoch_executed='1631274863.92' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697049

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697049/ft1_4FGL_J1440.9+0609_daily_bin215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697049/ft2_4FGL_J1440.9+0609_daily_bin215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697049/ft1_4FGL_J1440.9+0609_daily_bin215.fits outfile=/scratch/kocevski/697049/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin215.fits ra=220.242 dec=6.1631 rad=12.0 tmin=295056001.0 tmax=295315201.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 2.57
user 2.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697049/ft1_filtered_4FGL_J1440.9+0609_daily_bin215.fits" evtable="EVENTS" scfile=/scratch/kocevski/697049/ft2_4FGL_J1440.9+0609_daily_bin215.fits sctable="SC_DATA" outfile=/scratch/kocevski/697049/ltcube_295056001_295315201_4FGL_J1440.9+0609_daily_bin215.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/697049/ft2_4FGL_J1440.9+0609_daily_bin215.fits
.....................!
real 15.50
user 15.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697049/ft1_filtered_4FGL_J1440.9+0609_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/697049/ft2_4FGL_J1440.9+0609_daily_bin215.fits sctable="SC_DATA" expcube=/scratch/kocevski/697049/ltcube_295056001_295315201_4FGL_J1440.9+0609_daily_bin215.fits outfile=/scratch/kocevski/697049/expmap_295056001_295315201_4FGL_J1440.9+0609_daily_bin215.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/697049/ltcube_295056001_295315201_4FGL_J1440.9+0609_daily_bin215.fits
.....................!
real 190.63
user 185.54
sys 4.74

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/697049/ft1_filtered_4FGL_J1440.9+0609_daily_bin215.fits scfile=/scratch/kocevski/697049/ft2_4FGL_J1440.9+0609_daily_bin215.fits outfile=/scratch/kocevski/697049/cmap_295056001_295315201_4FGL_J1440.9+0609_daily_bin215.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697049/ft1_filtered_4FGL_J1440.9+0609_daily_bin215.fits scfile=/scratch/kocevski/697049/ft2_4FGL_J1440.9+0609_daily_bin215.fits outfile=/scratch/kocevski/697049/cmap_HighResolution_295056001_295315201_4FGL_J1440.9+0609_daily_bin215.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.749       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.959       1.0000         .10000E-03   10000.    
     4 'norm      '    13.392       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.4520       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.029       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52596E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .11342E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.1528       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2108       1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.803       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .79061       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1513       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=   5500.904     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2567 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0284       -.16666E-06** at limit **
   2  Prefactor     20.750        24.052       -.76871E-06    .42724E-05
   3  Prefactor     18.960        26.154       -.40374E-06    .98113E-05
   4  norm          13.391        12.207       -.62911E-07    .83297E-05
   5  Prefactor     .10000E-03    14.610       -.80605E-05** at limit **
   6  norm          .10000E-03    12.757        .89544E-05** at limit **
   7  Prefactor     .10000E-03    1.8352        .34471E-07** at limit **
   8  Prefactor     .10000E-03    2.6059       -.40869E-07** at limit **
   9  Prefactor     .10000E-03    50.972        .10572E-05** at limit **
  10  Prefactor     .10000E-03    19.060        .10777E-04** at limit **
  11  norm          .10000E-03    13.502        .77024E-07** at limit **
  12  Prefactor     .10000E-03    5.8300        .65455E-06** at limit **
  13  Prefactor     4.4245        33.664       -.45434E-04   -.84681E-04
  14  Prefactor     .10000E-03    7.2111       -.90307E-06** at limit **
  15  Prefactor     54.026        31.735       -.23682E-05    .26078E-04
  16  Prefactor     .10000E-03    16.004       -.98200E-05** at limit **
  17  norm          .52755E-01    .14861        .34977E-06   -.41291E-03
  18  norm          .10000E-03    1.4048       -.12841E-06** at limit **
  19  norm          4.1527        4.1999       -.40894E-07    .17953E-03
  20  norm          1.2124        2.7638       -.49009E-06   -.64498E-03
  21  Prefactor     33.804        42.317        .44110E-06   -.14238E-05
  22  Normalizat    .79035        .22991        .57423E-05   -.91934E-04
  23  Prefactor     1.1515        .14209       -.46747E-06    .14326E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.7502
  Prefactor  = 18.9602
  norm       = 13.3911
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.42455
  Prefactor  = 0.0001
  Prefactor  = 54.0262
  Prefactor  = 0.0001
  norm       = 0.0527549
  norm       = 0.0001
  norm       = 4.15266
  norm       = 1.21243
  Prefactor  = 33.8038
  Normalizat = 0.79035
  Prefactor  = 1.15146
 **********
 **   18 **HESSE 
 **********

 FCN=   5500.904     FROM HESSE     STATUS=OK           370 CALLS     2937 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0350        .16242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.750        24.066        .87930E-04   -1.4797    
   3  Prefactor     18.960        26.217        .91984E-04   -1.4837    
   4  norm          13.391        12.212        .10945E-03   -1.4976    
   5  Prefactor     .10000E-03    14.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    12.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8367        .98119E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.6338        .11691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    51.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    13.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.8310        .17491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4245        33.678        .19084E-03   -1.5287    
  14  Prefactor     .10000E-03    7.2253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     54.026        31.719        .54568E-04   -1.4237    
  16  Prefactor     .10000E-03    15.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .52755E-01    .16931        .43654E-03   -1.5662    
  18  norm          .10000E-03    2.6857        .16858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.1527        4.2051        .14910E-03   -1.5300    
  20  norm          1.2124        2.6995        .17980E-03   -1.5488    
  21  Prefactor     33.804        42.334        .68923E-04   -1.4544    
  22  Normalizat    .79035        .26793        .32514E-03   -1.0043    
  23  Prefactor     1.1515        .16785        .17620E-03   -.87838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17632e-08
Minuit parameter uncertainties:
  1  7.6988e-06
  2  24.0777
  3  26.2327
  4  12.2142
  5  2.45637e-05
  6  1.44003e-05
  7  1.72016e-06
  8  5.0368e-06
  9  6.76634e-05
  10  5.58028e-05
  11  7.71455e-05
  12  4.05822e-06
  13  24.4327
  14  2.54831e-05
  15  31.7288
  16  1.35268e-05
  17  0.169309
  18  2.19594e-05
  19  4.20541
  20  2.69973
  21  42.3715
  22  0.268383
  23  0.167924
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  5.580e-05  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.151e+00  1.679e-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:  7.904e-01  2.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/697049/likelihoodResults_295056001_295315201_4FGL_J1440.9+0609_daily_bin215.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): 102
logL (Free Index) = 5500.90473521
delta logL = -0.000249510517278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5500.90448623
delta logL = -5.24750248587e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2556       1.0000          .0000       10.000    
     3 'Normalizat'    .79035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1515       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=   5500.904     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      241 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7125        .90712E-02** at limit **
   2  Index         2.2190        6.0770        .50000        .17771E-04
   3  Normalizat    .79035        .31411E-02    .73465E-01    .79316E-05
   4  Prefactor     1.1515        .20269E-02    .35894E-01   -.48796E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.21899
  Normalizat = 0.790354
  Prefactor  = 1.15146
 **********
 **   18 **HESSE 
 **********

 FCN=   5500.904     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      272 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2190        6.3311        .50000       -.58981    
   3  Normalizat    .79035        .94593E-02    .32514E-03   -1.0043    
   4  Prefactor     1.1515        .61158E-02    .17620E-03   -.87838    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56976e-07
Minuit parameter uncertainties:
  1  0.000548158
  2  88.8287
  3  0.00945928
  4  0.00611577
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697049': 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): 102
logL (Free Index) = 5500.90448606
delta logL = -3.60733793059e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  5.482e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.219e+00  8.883e+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.151e+00  6.116e-03  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:  7.904e-01  9.459e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.242 6.163

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2021-09-10 05:03:39.947543', job_id='697049', GAL2='1.15', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1631275419.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-3.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='215' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:03:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 697049: <4FGL_J1440.9+0609_daily_bin215> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin215 220.242 6.1631 295056001 295315201 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 :                                   556.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            730 sec.

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

