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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin944
RA = 220.242, Dec = 6.1631
tmin = 484012801, tmax = 484272001
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='700223', job_status='RUN', time_executed='2021-09-10 05:03:38.670047', time_epoch_executed='1631275418.67' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700223

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700223/ft1_4FGL_J1440.9+0609_daily_bin944.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700223/ft2_4FGL_J1440.9+0609_daily_bin944.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700223/ft1_4FGL_J1440.9+0609_daily_bin944.fits outfile=/scratch/kocevski/700223/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin944.fits ra=220.242 dec=6.1631 rad=12.0 tmin=484012801.0 tmax=484272001.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.38
user 3.17
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700223/ft2_4FGL_J1440.9+0609_daily_bin944.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/700223/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin944.fits evtable="EVENTS" outfile="/scratch/kocevski/700223/ft1_filtered_4FGL_J1440.9+0609_daily_bin944.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700223/ft1_filtered_4FGL_J1440.9+0609_daily_bin944.fits evtable="EVENTS" scfile=/scratch/kocevski/700223/ft2_4FGL_J1440.9+0609_daily_bin944.fits sctable="SC_DATA" expcube=/scratch/kocevski/700223/ltcube_484012801_484272001_4FGL_J1440.9+0609_daily_bin944.fits outfile=/scratch/kocevski/700223/expmap_484012801_484272001_4FGL_J1440.9+0609_daily_bin944.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/700223/ltcube_484012801_484272001_4FGL_J1440.9+0609_daily_bin944.fits
.....................!
real 190.93
user 186.01
sys 4.53

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/700223/ft1_filtered_4FGL_J1440.9+0609_daily_bin944.fits scfile=/scratch/kocevski/700223/ft2_4FGL_J1440.9+0609_daily_bin944.fits outfile=/scratch/kocevski/700223/cmap_484012801_484272001_4FGL_J1440.9+0609_daily_bin944.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.446       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1913       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4520       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11203E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.6613       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21654E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.659       1.0000         .10000E-03   10000.    
    17 'norm      '    1.5318       1.0000         .10000E-03   10000.    
    18 'norm      '    5.3612       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.0861       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2544       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0019       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=   6730.948     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2547 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5331       -.22244E-07** at limit **
   2  Prefactor     .10000E-03    15.524        .29221E-06** at limit **
   3  Prefactor     15.440        29.710        .96219E-07    .73190E-05
   4  norm          .10000E-03    3.7965        .96113E-08** at limit **
   5  Prefactor     3.1905        40.394        .39150E-05    .17810E-03
   6  norm          .10000E-03    9.1053        .10230E-06** at limit **
   7  Prefactor     .10000E-03    3.7429        .17043E-06** at limit **
   8  Prefactor     6.4515        6.4586        .65766E-06    .71416E-03
   9  Prefactor     .10002E-03    79.632        .84300E-05** at limit **
  10  Prefactor     .10005E-03    97.352       -.12890E-04** at limit **
  11  norm          4.6621        26.294        .31689E-05    .29829E-03
  12  Prefactor     .10000E-03    27.393       -.24933E-06** at limit **
  13  Prefactor     .10283E-03    83.659       -.11932E-04** at limit **
  14  Prefactor     .10000E-03    4.0487       -.12688E-07** at limit **
  15  Prefactor     .10000E-03    10.852        .84042E-07** at limit **
  16  Prefactor     16.657        37.649        .26878E-06    .16441E-04
  17  norm          1.5316        .28975       -.57573E-09    .29405E-02
  18  norm          5.3612        3.2326        .14320E-06    .37665E-03
  19  norm          .10000E-03    2.7301       -.10077E-07** at limit **
  20  norm          5.0866        4.1331       -.28331E-06   -.28370E-03
  21  Prefactor     .10000E-03    13.376       -.31817E-06** at limit **
  22  Normalizat    1.2545        .23775       -.11350E-05    .36790E-03
  23  Prefactor     1.0018        .13859        .26464E-06    .38916E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4398
  norm       = 0.0001
  Prefactor  = 3.19045
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.45149
  Prefactor  = 0.000100025
  Prefactor  = 0.000100054
  norm       = 4.66214
  Prefactor  = 0.0001
  Prefactor  = 0.000102832
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6567
  norm       = 1.53162
  norm       = 5.36116
  norm       = 0.0001
  norm       = 5.08656
  Prefactor  = 0.0001
  Normalizat = 1.25451
  Prefactor  = 1.00179
 **********
 **   18 **HESSE 
 **********

 FCN=   6730.948     FROM HESSE     STATUS=OK           364 CALLS     2911 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.440        29.783        .10191E-03   -1.4922    
   4  norm          .10000E-03    3.7978        .15613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1905        41.620        .11341E-02   -1.5351    
   6  norm          .10000E-03    9.1094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.7563        .15495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4515        6.5314        .79002E-03   -1.5200    
   9  Prefactor     .10002E-03    80.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10005E-03    101.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.6621        26.865        .18640E-03   -1.5276    
  12  Prefactor     .10000E-03    27.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10283E-03    224.93        .81738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.0507        .16122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.657        37.654        .98129E-04   -1.4891    
  17  norm          1.5316        .28864        .18220E-04   -1.5460    
  18  norm          5.3612        3.2288        .10662E-03   -1.5245    
  19  norm          .10000E-03    2.7384        .13239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.0866        4.1350        .14368E-03   -1.5257    
  21  Prefactor     .10000E-03    13.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2545        .27990        .31246E-03   -.84935    
  23  Prefactor     1.0018        .16586        .21143E-03   -.92670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38497e-08
Minuit parameter uncertainties:
  1  1.3468e-06
  2  4.56079e-05
  3  29.8114
  4  6.22665e-07
  5  23.0659
  6  1.45385e-05
  7  1.59976e-05
  8  6.53217
  9  0.00283936
  10  0.00470395
  11  22.3978
  12  3.75008e-05
  13  0.0506648
  14  9.58205e-07
  15  1.19392e-05
  16  37.7075
  17  0.288639
  18  3.22894
  19  1.87982e-07
  20  4.13524
  21  4.28767e-05
  22  0.280233
  23  0.165946
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.001e-04  4.704e-03  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.002e+00  1.659e-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.255e+00  2.802e-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: 9.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700223/likelihoodResults_484012801_484272001_4FGL_J1440.9+0609_daily_bin944.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) = 6730.94760075
delta logL = -4.67505069537e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6730.94760075
delta logL = -4.67476429549e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96358E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1204       1.0000          .0000       10.000    
     3 'Normalizat'    1.2545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0018       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=   6730.948     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      207 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10013E-03    735.76        .90713E-02** at limit **
   2  Index         2.2184        5.4693        .25139       -.95283E-05
   3  Normalizat    1.2545        .22180        .70616E-01    .45069E-04
   4  Prefactor     1.0018        .13657        .45047E-01    .10903E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100127
  Index      = 2.2184
  Normalizat = 1.25451
  Prefactor  = 1.0018
 **********
 **   18 **HESSE 
 **********

 FCN=   6730.948     FROM HESSE     STATUS=OK            27 CALLS      234 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10013E-03    163.37        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2184        6.1087        .10056E-01   -.58995    
   3  Normalizat    1.2545        .26382        .31246E-03   -.84935    
   4  Prefactor     1.0018        .16278        .21143E-03   -.92670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84686e-10
Minuit parameter uncertainties:
  1  0.00914472
  2  4.15586
  3  0.2641
  4  0.162858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700223': 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) = 6730.9475538
delta logL = 2.05452124646e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.001e-04  9.145e-03  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.218e+00  4.156e+00  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.002e+00  1.629e-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.255e+00  2.641e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/700223/cmap_HighResolution_484012801_484272001_4FGL_J1440.9+0609_daily_bin944.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.44e-03', job_status='DONE', photon_flux_upper_limit='9.82e-08', time_completed='2021-09-10 05:13:51.311049', job_id='700223', GAL2='1.00', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1631276031.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='944' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:13:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 700223: <4FGL_J1440.9+0609_daily_bin944> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin944> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 05:01:30 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:01:31 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:31 2021
Terminated at Fri Sep 10 05:13:52 2021
Results reported at Fri Sep 10 05:13:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin944 220.242 6.1631 484012801 484272001 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 :                                   612.00 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             296.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            742 sec.

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

