/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 235 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin572
RA = 220.242, Dec = 6.1631
tmin = 387590401, tmax = 387849601
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='698612', job_status='RUN', time_executed='2021-09-10 05:00:30.503999', time_epoch_executed='1631275230.5' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='572'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698612

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698612/ft1_4FGL_J1440.9+0609_daily_bin572.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698612/ft2_4FGL_J1440.9+0609_daily_bin572.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698612/ft1_4FGL_J1440.9+0609_daily_bin572.fits outfile=/scratch/kocevski/698612/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin572.fits ra=220.242 dec=6.1631 rad=12.0 tmin=387590401.0 tmax=387849601.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.29
user 3.09
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/698612/ft1_filtered_4FGL_J1440.9+0609_daily_bin572.fits" evtable="EVENTS" scfile=/scratch/kocevski/698612/ft2_4FGL_J1440.9+0609_daily_bin572.fits sctable="SC_DATA" outfile=/scratch/kocevski/698612/ltcube_387590401_387849601_4FGL_J1440.9+0609_daily_bin572.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/698612/ft2_4FGL_J1440.9+0609_daily_bin572.fits
.....................!
real 12.30
user 11.96
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698612/ft1_filtered_4FGL_J1440.9+0609_daily_bin572.fits evtable="EVENTS" scfile=/scratch/kocevski/698612/ft2_4FGL_J1440.9+0609_daily_bin572.fits sctable="SC_DATA" expcube=/scratch/kocevski/698612/ltcube_387590401_387849601_4FGL_J1440.9+0609_daily_bin572.fits outfile=/scratch/kocevski/698612/expmap_387590401_387849601_4FGL_J1440.9+0609_daily_bin572.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/698612/ltcube_387590401_387849601_4FGL_J1440.9+0609_daily_bin572.fits
.....................!
real 190.14
user 185.06
sys 4.67

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698612/ft1_filtered_4FGL_J1440.9+0609_daily_bin572.fits scfile=/scratch/kocevski/698612/ft2_4FGL_J1440.9+0609_daily_bin572.fits outfile=/scratch/kocevski/698612/cmap_HighResolution_387590401_387849601_4FGL_J1440.9+0609_daily_bin572.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/698612/ft1_filtered_4FGL_J1440.9+0609_daily_bin572.fits evtable="EVENTS" scfile=/scratch/kocevski/698612/ft2_4FGL_J1440.9+0609_daily_bin572.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/698612/Model_4FGL_J1440.9+0609_daily_bin572.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/698612/ft1_filtered_4FGL_J1440.9+0609_daily_bin572.fits.....................!
real 59.10
user 57.71
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.216       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9182       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.632       1.0000         .10000E-03   10000.    
     4 'norm      '    13.783       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0417       1.0000         .10000E-03   10000.    
     6 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.290       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.5945       1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.488       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .72992       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.272       1.0000         .10000E-03   10000.    
    17 'norm      '    .15144       1.0000         .10000E-03   10000.    
    18 'norm      '    .40209E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .72323       1.0000         .10000E-03   10000.    
    20 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2287       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87812       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=   8162.276     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2576 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.218        11.089        .48536E-07    .10190E-05
   2  Prefactor     3.9175        24.192        .84082E-06   -.40713E-05
   3  Prefactor     27.631        24.618        .11202E-06   -.34030E-04
   4  norm          13.782        9.4458        .11279E-07   -.18775E-05
   5  Prefactor     1.0322        14.185       -.10831E-05    .17629E-03
   6  norm          .10001E-03    22.714        .17285E-05** at limit **
   7  Prefactor     .10000E-03    3.6774       -.15875E-07** at limit **
   8  Prefactor     10.292        5.7525        .78636E-07   -.17391E-04
   9  Prefactor     .10000E-03    26.338        .24286E-06** at limit **
  10  Prefactor     .10000E-03    13.206       -.33978E-06** at limit **
  11  norm          .10000E-03    28.534       -.15969E-05** at limit **
  12  Prefactor     4.5958        16.251        .31974E-06   -.71074E-05
  13  Prefactor     44.492        23.504        .71379E-07    .13097E-03
  14  Prefactor     .73892        8.4260        .71842E-07    .70282E-05
  15  Prefactor     .10000E-03    7.6945       -.10929E-06** at limit **
  16  Prefactor     12.273        24.698       -.13039E-06   -.11246E-04
  17  norm          .15143        .11471        .11172E-07   -.33556E-03
  18  norm          .10000E-03    .77815        .55336E-07** at limit **
  19  norm          .72324        4.9934        .38926E-05    .52013E-04
  20  norm          .10002E-03    1.9776        .84995E-06** at limit **
  21  Prefactor     .10000E-03    13.718       -.20344E-06** at limit **
  22  Normalizat    1.2284        .18985       -.72339E-06   -.17165E-03
  23  Prefactor     .87831        .11065       -.18629E-06   -.32599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.2175
  Prefactor  = 3.91745
  Prefactor  = 27.631
  norm       = 13.7823
  Prefactor  = 1.03222
  norm       = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 10.2916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100005
  Prefactor  = 4.59576
  Prefactor  = 44.4924
  Prefactor  = 0.738919
  Prefactor  = 0.0001
  Prefactor  = 12.2735
  norm       = 0.151432
  norm       = 0.000100001
  norm       = 0.72324
  norm       = 0.000100025
  Prefactor  = 0.0001
  Normalizat = 1.22842
  Prefactor  = 0.878314
 **********
 **   18 **HESSE 
 **********

 FCN=   8162.276     FROM HESSE     STATUS=OK           380 CALLS     2956 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.218        11.080        .10623E-03   -1.4954    
   2  Prefactor     3.9175        24.112        .20381E-03   -1.5312    
   3  Prefactor     27.631        24.677        .76212E-04   -1.4656    
   4  norm          13.782        9.4474        .10789E-03   -1.4965    
   5  Prefactor     1.0322        81.881        .61690E-02   -1.5505    
   6  norm          .10001E-03    23.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.7061        .16901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.292        5.7622        .12491E-03   -1.5066    
   9  Prefactor     .10000E-03    26.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    29.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.5958        16.216        .18779E-03   -1.5279    
  13  Prefactor     44.492        23.578        .60109E-04   -1.4373    
  14  Prefactor     .73892        47.737        .48666E-02   -1.5536    
  15  Prefactor     .10000E-03    7.7030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.273        24.709        .11435E-03   -1.5007    
  17  norm          .15143        .11010        .25453E-03   -1.5630    
  18  norm          .10000E-03    6.6629        .15045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .72324        5.0762        .39325E-03   -1.5538    
  20  norm          .10002E-03    9.6367        .22387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    13.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2284        .22826        .27686E-03   -.85729    
  23  Prefactor     .87831        .13302        .19872E-03   -.96903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.31141e-09
Minuit parameter uncertainties:
  1  11.0811
  2  19.4493
  3  24.6866
  4  9.44841
  5  18.4121
  6  0.000724493
  7  2.07096e-06
  8  5.76251
  9  0.00012714
  10  0.000109348
  11  0.000735781
  12  16.231
  13  23.5828
  14  11.8875
  15  2.21767e-05
  16  24.7297
  17  0.110105
  18  0.000124401
  19  3.83234
  20  0.000975905
  21  7.75157e-05
  22  0.228443
  23  0.133068
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  1.093e-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:  8.783e-01  1.331e-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.228e+00  2.284e-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: 5.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698612/likelihoodResults_387590401_387849601_4FGL_J1440.9+0609_daily_bin572.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) = 8162.27659788
delta logL = -0.000360297206498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8162.27623777
delta logL = -1.83643351193e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1000       1.0000          .0000       10.000    
     3 'Normalizat'    1.2283       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87838       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8162.276     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10081E-03    89.342        .18142E-02** at limit **
   2  Index         2.0578        6.1624        .50000        .10573E-04
   3  Normalizat    1.2284        .11711E-01    .27686E-03    .21271E-04
   4  Prefactor     .87832        .72816E-02    .19872E-03    .27690E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100806
  Index      = 2.05784
  Normalizat = 1.22842
  Prefactor  = 0.878315
 **********
 **   18 **HESSE 
 **********

 FCN=   8162.276     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10081E-03    431.98        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0578        5.8625        .50000       -.62912    
   3  Normalizat    1.2284        .26638E-01    .11074E-04   -.85729    
   4  Prefactor     .87832        .16559E-01    .79487E-05   -.96903    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.47867e-08
Minuit parameter uncertainties:
  1  0.0375987
  2  557.278
  3  0.0266379
  4  0.0165593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698612': 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) = 8162.27623744
delta logL = 1.47220816871e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.008e-04  3.760e-02  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.058e+00  5.573e+02  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:  8.783e-01  1.656e-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.228e+00  2.664e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/698612/cmap_HighResolution_387590401_387849601_4FGL_J1440.9+0609_daily_bin572.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2021-09-10 05:11:51.228579', job_id='698612', GAL2='0.88', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631275911.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='572' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:11:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 698612: <4FGL_J1440.9+0609_daily_bin572> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin572 220.242 6.1631 387590401 387849601 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 :                                   680.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            927 sec.

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

