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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin636
RA = 220.242, Dec = 6.1631
tmin = 404179201, tmax = 404438401
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='699932', job_status='RUN', time_executed='2021-09-10 05:03:10.868957', time_epoch_executed='1631275390.87' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699932

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699932/ft1_4FGL_J1440.9+0609_daily_bin636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699932/ft2_4FGL_J1440.9+0609_daily_bin636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699932/ft1_4FGL_J1440.9+0609_daily_bin636.fits outfile=/scratch/kocevski/699932/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin636.fits ra=220.242 dec=6.1631 rad=12.0 tmin=404179201.0 tmax=404438401.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.63
user 3.39
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/699932/ft2_4FGL_J1440.9+0609_daily_bin636.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/699932/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin636.fits evtable="EVENTS" outfile="/scratch/kocevski/699932/ft1_filtered_4FGL_J1440.9+0609_daily_bin636.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/699932/ft1_filtered_4FGL_J1440.9+0609_daily_bin636.fits" evtable="EVENTS" scfile=/scratch/kocevski/699932/ft2_4FGL_J1440.9+0609_daily_bin636.fits sctable="SC_DATA" outfile=/scratch/kocevski/699932/ltcube_404179201_404438401_4FGL_J1440.9+0609_daily_bin636.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/699932/ft2_4FGL_J1440.9+0609_daily_bin636.fits
.....................!
real 12.06
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699932/ft1_filtered_4FGL_J1440.9+0609_daily_bin636.fits evtable="EVENTS" scfile=/scratch/kocevski/699932/ft2_4FGL_J1440.9+0609_daily_bin636.fits sctable="SC_DATA" expcube=/scratch/kocevski/699932/ltcube_404179201_404438401_4FGL_J1440.9+0609_daily_bin636.fits outfile=/scratch/kocevski/699932/expmap_404179201_404438401_4FGL_J1440.9+0609_daily_bin636.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/699932/ltcube_404179201_404438401_4FGL_J1440.9+0609_daily_bin636.fits
.....................!
real 192.78
user 186.21
sys 5.70

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/699932/ft1_filtered_4FGL_J1440.9+0609_daily_bin636.fits scfile=/scratch/kocevski/699932/ft2_4FGL_J1440.9+0609_daily_bin636.fits outfile=/scratch/kocevski/699932/cmap_404179201_404438401_4FGL_J1440.9+0609_daily_bin636.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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699932/ft1_filtered_4FGL_J1440.9+0609_daily_bin636.fits scfile=/scratch/kocevski/699932/ft2_4FGL_J1440.9+0609_daily_bin636.fits outfile=/scratch/kocevski/699932/cmap_HighResolution_404179201_404438401_4FGL_J1440.9+0609_daily_bin636.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=220.242 yref=6.1631 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.394       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.545       1.0000         .10000E-03   10000.    
     4 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.951       1.0000         .10000E-03   10000.    
     6 'norm      '    21.848       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8214       1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.109       1.0000         .10000E-03   10000.    
    10 'Prefactor '    46.974       1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .84100E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.041       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.022       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.009       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .47801E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.9152       1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .64361       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .72905       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2212       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7504.234     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     2538 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.393        16.559        .23900E-04    .19979E-02
   2  Prefactor     .10000E-03    6.9864       -.37242E-06** at limit **
   3  Prefactor     24.533        3.2682        .38139E-05   -.23500E-02
   4  norm          .10000E-03    21.869        .13692E-05** at limit **
   5  Prefactor     26.946        6.3420        .62726E-05   -.15834E-02
   6  norm          21.853        5.2035        .68726E-05    .49311E-03
   7  Prefactor     .10000E-03    5.4230        .13083E-06** at limit **
   8  Prefactor     8.8165        7.4748        .26232E-05   -.35369E-03
   9  Prefactor     46.125        3.5905       -.23236E-05    .15385E-02
  10  Prefactor     46.966        5.5300        .52670E-05   -.65001E-03
  11  norm          .10000E-03    15.034       -.17254E-05** at limit **
  12  Prefactor     .18584E-03    6382.2       -.23617E-03** at limit **
  13  Prefactor     24.066        24.003        .21149E-04    .11272E-02
  14  Prefactor     11.022        16.022       -.40822E-05    .30626E-03
  15  Prefactor     21.961        34.071        .41666E-04    .11272E-02
  16  Prefactor     .44691E-03    64.336        .48625E-04** at limit **
  17  norm          .10000E-03    .53797E-01    .33989E-07** at limit **
  18  norm          4.9153        2.7955        .94378E-06    .45994E-04
  19  norm          .10000E-03    2.9689        .46165E-06** at limit **
  20  norm          .64280        4.3185       -.80438E-07   -.22711E-04
  21  Prefactor     .10000E-03    11.805        .33841E-06** at limit **
  22  Normalizat    .72910        .25855       -.24415E-04   -.48481E-04
  23  Prefactor     1.2213        .15446        .28652E-05   -.55685E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.3927
  Prefactor  = 0.0001
  Prefactor  = 24.5327
  norm       = 0.0001
  Prefactor  = 26.9462
  norm       = 21.8527
  Prefactor  = 0.0001
  Prefactor  = 8.81646
  Prefactor  = 46.1246
  Prefactor  = 46.9657
  norm       = 0.000100001
  Prefactor  = 0.000185843
  Prefactor  = 24.0655
  Prefactor  = 11.0218
  Prefactor  = 21.9613
  Prefactor  = 0.000446912
  norm       = 0.0001
  norm       = 4.91533
  norm       = 0.0001
  norm       = 0.642801
  Prefactor  = 0.0001
  Normalizat = 0.729104
  Prefactor  = 1.22127
 **********
 **   18 **HESSE 
 **********

 FCN=   7504.234     FROM HESSE     STATUS=OK           436 CALLS     2974 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.393        17.495        .19136E-02   -1.4661    
   2  Prefactor     .10000E-03    6.9810        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.533        31.615        .20213E-02   -1.4717    
   4  norm          .10000E-03    21.366        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.946        19.179        .19292E-02   -1.4669    
   6  norm          21.853        23.266        .21423E-02   -1.4773    
   7  Prefactor     .10000E-03    5.3726        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.8165        7.5558        .33739E-02   -1.5114    
   9  Prefactor     46.125        57.006        .14762E-02   -1.4349    
  10  Prefactor     46.966        30.693        .14626E-02   -1.4336    
  11  norm          .10000E-03    15.012        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .18584E-03    39.228        .12436       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.066        25.153        .20424E-02   -1.4726    
  14  Prefactor     11.022        16.261        .30169E-02   -1.5044    
  15  Prefactor     21.961        40.897        .21345E-02   -1.4770    
  16  Prefactor     .44691E-03    59.645        .15626       -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .47147E-01    .88711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.9153        2.8290        .45355E-02   -1.5265    
  19  norm          .10000E-03    2.9569        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .64280        4.3040        .11844E-01   -1.5548    
  21  Prefactor     .10000E-03    11.810        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .72910        .23386        .85516E-01   -1.0276    
  23  Prefactor     1.2213        .13608        .34147E-01   -.85679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14248e-07
Minuit parameter uncertainties:
  1  17.498
  2  1.46161e-07
  3  31.637
  4  0.000157322
  5  19.1832
  6  23.2758
  7  2.03705e-06
  8  7.55661
  9  57.0736
  10  30.7032
  11  0.000178645
  12  0.116135
  13  25.1637
  14  16.2673
  15  40.9497
  16  0.287979
  17  6.59865e-08
  18  2.8291
  19  6.85097e-06
  20  3.32673
  21  7.82312e-05
  22  0.234186
  23  0.13612
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  4.697e+01  3.070e+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.221e+00  1.361e-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.291e-01  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.77
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 4.97e-08 +/- 3.25e-08
Energy Flux (Fixed Index): 2.61e-05 +/- 1.71e-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): 102
logL (Free Index) = 7503.00940403
delta logL = 1.22456921085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7502.52536956
delta logL = 1.70860367777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0438       1.0000         .10000E-03   10000.    
     2 'Index     '    .99028E-04   1.0000          .0000       10.000    
     3 'Normalizat'    .75831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2246       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=   7502.525     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      271 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0534        3.9267        .58140E-02   -.33393E-03
   2  Index         .18686E-08    .58274        .50000    ** at limit **
   3  Normalizat    .75877        .21304        .83992E-01    .57198E-04
   4  Prefactor     1.2243        .13325        .34074E-01   -.11038E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.0534
  Index      = 1.86863e-09
  Normalizat = 0.758774
  Prefactor  = 1.22426
 **********
 **   18 **HESSE 
 **********

 FCN=   7502.525     FROM HESSE     STATUS=OK            37 CALLS      308 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0534        3.7633        .14789E-03   -1.5358    
   2  Index         .18686E-08    .53255        .50000       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .75877        .24218        .37194E-03   -1.0162    
   4  Prefactor     1.2243        .15190        .18655E-03   -.85588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0247e-11
Minuit parameter uncertainties:
  1  3.76357
  2  6.36656e-05
  3  0.242528
  4  0.151954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699932': 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) = 7502.52535834
delta logL = 1.70861489834

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.053e+00  3.764e+00  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.869e-09  6.367e-05  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.224e+00  1.520e-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.588e-01  2.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.14
Ra Dec: 220.242 6.163
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.05e-09 +/- 3.76e-09
Energy Flux (Free Index): 1.53e-04 +/- 1.88e-04

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/699932/cmap_HighResolution_404179201_404438401_4FGL_J1440.9+0609_daily_bin636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.97e-08', energy_flux2='1.53e-04', photon_flux_error='3.25e-08', dlogl='1.71e+00', energy_flux='2.61e-05', photon_flux2='3.05e-09', job_status='DONE', time_completed='2021-09-10 05:13:01.665392', photon_index_error2='0.00', photon_index2='0.00', ts='5.77', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='1.88e-04', EG='0.73', time_epoch_completed='1631275981.67', return_code='0', job_id='699932', GAL2='1.22', EG2='0.76', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='3.76e-09', ts2='9.14', photon_index='2.12' WHERE bin_id='636' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:13:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 699932: <4FGL_J1440.9+0609_daily_bin636> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin636 220.242 6.1631 404179201 404438401 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 :                                   590.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            717 sec.

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

