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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin469
RA = 220.242, Dec = 6.1631
tmin = 360892801, tmax = 361152001
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='698451', job_status='RUN', time_executed='2021-09-10 04:58:48.234728', time_epoch_executed='1631275128.23' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698451

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698451/ft1_4FGL_J1440.9+0609_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698451/ft2_4FGL_J1440.9+0609_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698451/ft1_4FGL_J1440.9+0609_daily_bin469.fits outfile=/scratch/kocevski/698451/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin469.fits ra=220.242 dec=6.1631 rad=12.0 tmin=360892801.0 tmax=361152001.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.52
user 3.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698451/ft2_4FGL_J1440.9+0609_daily_bin469.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/698451/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin469.fits evtable="EVENTS" outfile="/scratch/kocevski/698451/ft1_filtered_4FGL_J1440.9+0609_daily_bin469.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/698451/ft1_filtered_4FGL_J1440.9+0609_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/698451/ft2_4FGL_J1440.9+0609_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/698451/ltcube_360892801_361152001_4FGL_J1440.9+0609_daily_bin469.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/698451/ft2_4FGL_J1440.9+0609_daily_bin469.fits
.....................!
real 13.67
user 12.96
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698451/ft1_filtered_4FGL_J1440.9+0609_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/698451/ft2_4FGL_J1440.9+0609_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/698451/ltcube_360892801_361152001_4FGL_J1440.9+0609_daily_bin469.fits outfile=/scratch/kocevski/698451/expmap_360892801_361152001_4FGL_J1440.9+0609_daily_bin469.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/698451/ltcube_360892801_361152001_4FGL_J1440.9+0609_daily_bin469.fits
.....................!
real 190.88
user 184.93
sys 5.21

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/698451/ft1_filtered_4FGL_J1440.9+0609_daily_bin469.fits scfile=/scratch/kocevski/698451/ft2_4FGL_J1440.9+0609_daily_bin469.fits outfile=/scratch/kocevski/698451/cmap_360892801_361152001_4FGL_J1440.9+0609_daily_bin469.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698451/ft1_filtered_4FGL_J1440.9+0609_daily_bin469.fits scfile=/scratch/kocevski/698451/ft2_4FGL_J1440.9+0609_daily_bin469.fits outfile=/scratch/kocevski/698451/cmap_HighResolution_360892801_361152001_4FGL_J1440.9+0609_daily_bin469.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5313       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.170       1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.102       1.0000         .10000E-03   10000.    
     4 'norm      '    16.312       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.188       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.0079       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    17.054       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.306       1.0000         .10000E-03   10000.    
    13 'Prefactor '    84.845       1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.564       1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.210       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.4835       1.0000         .10000E-03   10000.    
    17 'norm      '    .10245       1.0000         .10000E-03   10000.    
    18 'norm      '    3.7481       1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    9.7194       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.482       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77068       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=   6807.746     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2521 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5334        16.566        .42708E-02    .13386E-03
   2  Prefactor     22.168        24.876        .21267E-02    .10586E-02
   3  Prefactor     37.099        29.343        .16449E-02    .14773E-02
   4  norm          16.312        10.766        .24792E-02   -.13303E-03
   5  Prefactor     23.188        23.122        .20796E-02    .41269E-04
   6  norm          .10000E-03    7.9514        .90712E-02** at limit **
   7  Prefactor     .10000E-03    4.0500        .90712E-02** at limit **
   8  Prefactor     9.0063        7.8769        .33385E-02    .16417E-02
   9  Prefactor     .10000E-03    69.193        .90712E-02** at limit **
  10  Prefactor     .10000E-03    27.848        .90712E-02** at limit **
  11  norm          17.055        18.422        .24246E-02   -.15426E-03
  12  Prefactor     14.305        32.670        .26474E-02    .29592E-03
  13  Prefactor     84.843        34.359        .10903E-02    .15315E-02
  14  Prefactor     53.562        25.223        .13701E-02    .65637E-03
  15  Prefactor     31.209        40.684        .17930E-02    .39123E-03
  16  Prefactor     9.4828        34.724        .32533E-02    .17776E-03
  17  norm          .10252        .15525        .77214E-02   -.30027E-03
  18  norm          3.7481        2.3537        .52138E-02    .41244E-03
  19  norm          .10000E-03    4.2321        .90712E-02** at limit **
  20  norm          9.7194        5.0165        .32134E-02   -.19347E-02
  21  Prefactor     24.482        36.169        .20240E-02   -.10803E-03
  22  Normalizat    1.0859        .21932        .68144E-01    .31150E-03
  23  Prefactor     .77062        .12013        .43334E-01    .37861E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.53341
  Prefactor  = 22.1677
  Prefactor  = 37.0993
  norm       = 16.3124
  Prefactor  = 23.1882
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 9.0063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.0549
  Prefactor  = 14.3049
  Prefactor  = 84.8432
  Prefactor  = 53.5622
  Prefactor  = 31.2088
  Prefactor  = 9.48283
  norm       = 0.102523
  norm       = 3.74813
  norm       = 0.0001
  norm       = 9.7194
  Prefactor  = 24.482
  Normalizat = 1.0859
  Prefactor  = 0.77062
 **********
 **   18 **HESSE 
 **********

 FCN=   6807.746     FROM HESSE     STATUS=OK           362 CALLS     2883 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5334        16.572        .17083E-03   -1.5237    
   2  Prefactor     22.168        24.804        .85069E-04   -1.4766    
   3  Prefactor     37.099        29.432        .65798E-04   -1.4489    
   4  norm          16.312        10.768        .99166E-04   -1.4900    
   5  Prefactor     23.188        23.179        .83183E-04   -1.4745    
   6  norm          .10000E-03    7.9537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0614        .16203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.0063        7.8901        .13354E-03   -1.5108    
   9  Prefactor     .10000E-03    69.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.055        18.403        .96986E-04   -1.4882    
  12  Prefactor     14.305        32.595        .10590E-03   -1.4951    
  13  Prefactor     84.843        34.366        .43612E-04   -1.3863    
  14  Prefactor     53.562        25.218        .54804E-04   -1.4243    
  15  Prefactor     31.209        40.554        .71722E-04   -1.4590    
  16  Prefactor     9.4828        34.639        .13013E-03   -1.5092    
  17  norm          .10252        .13894        .37249E-03   -1.5644    
  18  norm          3.7481        2.3495        .93566E-04   -1.5321    
  19  norm          .10000E-03    4.2818        .16573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.7194        5.0141        .12470E-03   -1.5084    
  21  Prefactor     24.482        36.233        .80958E-04   -1.4718    
  22  Normalizat    1.0859        .26248        .30149E-03   -.90206    
  23  Prefactor     .77062        .14315        .20537E-03   -1.0082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53362e-08
Minuit parameter uncertainties:
  1  16.5857
  2  24.816
  3  29.4437
  4  10.7696
  5  23.188
  6  2.90131e-05
  7  0.000108177
  8  7.89097
  9  0.00027703
  10  0.000179086
  11  18.4089
  12  32.6355
  13  34.3742
  14  25.2225
  15  40.5902
  16  34.7127
  17  0.138942
  18  2.34953
  19  7.76776e-05
  20  5.01434
  21  36.2659
  22  0.262795
  23  0.143223
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  1.791e-04  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.706e-01  1.432e-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.086e+00  2.628e-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: 8.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698451/likelihoodResults_360892801_361152001_4FGL_J1440.9+0609_daily_bin469.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) = 6807.74650513
delta logL = -0.000170895592419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6807.74633426
delta logL = -2.59078660747e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1970       1.0000          .0000       10.000    
     3 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77062       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=   6807.746     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      233 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6503.0        .90712E-02** at limit **
   2  Index         2.1956        8.2876        .50000        .31525E-06
   3  Normalizat    1.0859        .69037E-01    .68144E-01    .36794E-04
   4  Prefactor     .77062        .40432E-01    .43334E-01    .46402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.19565
  Normalizat = 1.0859
  Prefactor  = 0.770621
 **********
 **   18 **HESSE 
 **********

 FCN=   6807.746     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    702.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1956        7.7282        .50000       -.59544    
   3  Normalizat    1.0859        .27251E-01    .30149E-03   -.90206    
   4  Prefactor     .77062        .16006E-01    .20537E-03   -1.0082    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.64295e-11
Minuit parameter uncertainties:
  1  0.000134393
  2  21.2301
  3  0.027251
  4  0.0160058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698451': 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) = 6807.74633425
delta logL = -1.58188413479e-08

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  1.344e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.196e+00  2.123e+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.706e-01  1.601e-02  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.086e+00  2.725e-02  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/698451/cmap_HighResolution_360892801_361152001_4FGL_J1440.9+0609_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.14e-03', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2021-09-10 05:08:52.015122', job_id='698451', GAL2='0.77', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1631275732.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='-1.58e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='469' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:08:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 698451: <4FGL_J1440.9+0609_daily_bin469> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin469 220.242 6.1631 360892801 361152001 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 :                                   602.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            759 sec.

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

