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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin537
RA = 220.242, Dec = 6.1631
tmin = 378518401, tmax = 378777601
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='698557', job_status='RUN', time_executed='2021-09-10 05:00:12.575705', time_epoch_executed='1631275212.58' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='537'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698557

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698557/ft1_4FGL_J1440.9+0609_daily_bin537.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698557/ft2_4FGL_J1440.9+0609_daily_bin537.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698557/ft1_4FGL_J1440.9+0609_daily_bin537.fits outfile=/scratch/kocevski/698557/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin537.fits ra=220.242 dec=6.1631 rad=12.0 tmin=378518401.0 tmax=378777601.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.41
user 3.18
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698557/ft2_4FGL_J1440.9+0609_daily_bin537.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/698557/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin537.fits evtable="EVENTS" outfile="/scratch/kocevski/698557/ft1_filtered_4FGL_J1440.9+0609_daily_bin537.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.48
user 0.30
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698557/ft1_filtered_4FGL_J1440.9+0609_daily_bin537.fits evtable="EVENTS" scfile=/scratch/kocevski/698557/ft2_4FGL_J1440.9+0609_daily_bin537.fits sctable="SC_DATA" expcube=/scratch/kocevski/698557/ltcube_378518401_378777601_4FGL_J1440.9+0609_daily_bin537.fits outfile=/scratch/kocevski/698557/expmap_378518401_378777601_4FGL_J1440.9+0609_daily_bin537.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/698557/ltcube_378518401_378777601_4FGL_J1440.9+0609_daily_bin537.fits
.....................!
real 192.41
user 187.94
sys 4.10

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/698557/ft1_filtered_4FGL_J1440.9+0609_daily_bin537.fits scfile=/scratch/kocevski/698557/ft2_4FGL_J1440.9+0609_daily_bin537.fits outfile=/scratch/kocevski/698557/cmap_378518401_378777601_4FGL_J1440.9+0609_daily_bin537.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.39
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3269       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11531E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10481E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.5926       1.0000         .10000E-03   10000.    
     6 'norm      '    16.752       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4835       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .28851E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.857       1.0000         .10000E-03   10000.    
    11 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.275       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.049       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.305       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.211       1.0000         .10000E-03   10000.    
    17 'norm      '    .68987       1.0000         .10000E-03   10000.    
    18 'norm      '    2.9504       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.1759       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .51102       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3286       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=   6796.390     FROM MIGRAD    STATUS=CONVERGED    948 CALLS     3043 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3266        18.718        .38152E-03   -.31885E-05
   2  Prefactor     .10000E-03    31.625        .18142E-02** at limit **
   3  Prefactor     .10000E-03    25.136        .18142E-02** at limit **
   4  norm          .10000E-03    3.7692        .15628E-02** at limit **
   5  Prefactor     9.6215        21.523        .12939E-03   -.12301E-05
   6  norm          16.740        19.507        .97855E-04   -.53442E-05
   7  Prefactor     .10000E-03    2.7233        .13240E-02** at limit **
   8  Prefactor     7.4874        6.4803        .73303E-03    .62099E-04
   9  Prefactor     .10000E-03    42.538        .16963    ** at limit **
  10  Prefactor     11.867        20.237        .11634E-03   -.28339E-05
  11  norm          .10000E-03    8.1734        .18142E-02** at limit **
  12  Prefactor     14.263        21.865        .10601E-03    .95446E-05
  13  Prefactor     28.058        22.477        .75646E-04    .36069E-05
  14  Prefactor     .10000E-03    3.4550        .14962E-02** at limit **
  15  Prefactor     27.329        29.860        .76666E-04    .44042E-04
  16  Prefactor     15.366        45.886        .10269E-03    .60887E-05
  17  norm          .68988        .20037        .19059E-04    .22488E-03
  18  norm          2.9515        2.8363        .12453E-03   -.10955E-04
  19  norm          .10000E-03    2.1118        .11692E-02** at limit **
  20  norm          2.1774        4.9129        .25408E-03   -.76064E-05
  21  Prefactor     .10000E-03    12.986        .18142E-02** at limit **
  22  Normalizat    .51075        .25247        .42321E-03    .38897E-04
  23  Prefactor     1.3286        .15958        .17639E-03    .35448E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.32655
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.62146
  norm       = 16.7402
  Prefactor  = 0.0001
  Prefactor  = 7.48745
  Prefactor  = 0.0001
  Prefactor  = 11.8674
  norm       = 0.0001
  Prefactor  = 14.2629
  Prefactor  = 28.0578
  Prefactor  = 0.0001
  Prefactor  = 27.329
  Prefactor  = 15.3657
  norm       = 0.689879
  norm       = 2.95152
  norm       = 0.0001
  norm       = 2.1774
  Prefactor  = 0.0001
  Normalizat = 0.510745
  Prefactor  = 1.32859
 **********
 **   18 **HESSE 
 **********

 FCN=   6796.390     FROM HESSE     STATUS=OK           358 CALLS     3401 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3266        18.712        .15261E-04   -1.5478    
   2  Prefactor     .10000E-03    31.643        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.141        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.7693        .31257E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.6215        21.522        .51755E-05   -1.5087    
   6  norm          16.740        19.507        .39142E-05   -1.4889    
   7  Prefactor     .10000E-03    2.7236        .26481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.4874        6.4796        .29321E-04   -1.5161    
   9  Prefactor     .10000E-03    42.955        .16824       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.867        20.236        .46536E-05   -1.5019    
  11  norm          .10000E-03    8.1737        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.263        21.862        .42404E-05   -1.4952    
  13  Prefactor     28.058        22.477        .30258E-05   -1.4648    
  14  Prefactor     .10000E-03    3.4551        .29924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.329        29.847        .30666E-05   -1.4662    
  16  Prefactor     15.366        45.855        .41078E-05   -1.4924    
  17  norm          .68988        .20037        .76236E-06   -1.5542    
  18  norm          2.9515        2.8354        .49813E-05   -1.5364    
  19  norm          .10000E-03    2.1118        .23384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.1774        4.9113        .10163E-04   -1.5413    
  21  Prefactor     .10000E-03    12.986        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .51075        .25253        .16928E-04   -1.1192    
  23  Prefactor     1.3286        .15965        .70557E-05   -.82461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44206e-11
Minuit parameter uncertainties:
  1  9.96783
  2  3.41604e-05
  3  3.63997e-05
  4  4.37329e-07
  5  21.539
  6  19.5145
  7  1.43156e-05
  8  6.48017
  9  0.000157948
  10  20.248
  11  2.98882e-05
  12  21.8746
  13  22.4841
  14  5.43194e-06
  15  29.8634
  16  45.9604
  17  0.200366
  18  2.83554
  19  1.22403e-07
  20  4.91217
  21  2.27107e-06
  22  0.253096
  23  0.159707
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.187e+01  2.025e+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.329e+00  1.597e-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:  5.107e-01  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/698557/likelihoodResults_378518401_378777601_4FGL_J1440.9+0609_daily_bin537.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): 0
logL (Free Index) = 6796.38931298
delta logL = 0.000213908613659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6796.38915788
delta logL = 0.000369009037058

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.434       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1641       1.0000          .0000       10.000    
     3 'Normalizat'    .50960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3289       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=   6796.389     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      200 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.401        49.208        .29618E-02    .20236E-04
   2  Index         2.1601        2.4532        .24923E-01    .44698E-04
   3  Normalizat    .50983        .23223        .95585E-01    .49325E-04
   4  Prefactor     1.3289        .14660        .32124E-01    .13665E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4011
  Index      = 2.16006
  Normalizat = 0.509832
  Prefactor  = 1.32887
 **********
 **   18 **HESSE 
 **********

 FCN=   6796.389     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .95E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.401        26.175        .11847E-03   -1.5033    
   2  Index         2.1601        1.4262        .99692E-03   -.60406    
   3  Normalizat    .50983        .24240        .42358E-03   -1.1196    
   4  Prefactor     1.3289        .15658        .17638E-03   -.82452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45745e-13
Minuit parameter uncertainties:
  1  26.2009
  2  1.45646
  3  0.242902
  4  0.156638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698557': 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) = 6796.38914493
delta logL = 0.000381961257517

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.140e+01  2.620e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.160e+00  1.456e+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.329e+00  1.566e-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:  5.098e-01  2.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
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/698557/cmap_HighResolution_378518401_378777601_4FGL_J1440.9+0609_daily_bin537.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='8.01e-08', time_completed='2021-09-10 05:10:52.671650', job_id='698557', GAL2='1.33', fit_tolerance='1e-08', EG2='0.51', EG='0.51', time_epoch_completed='1631275852.67', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='3.82e-04', ts2='0.55', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='537' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:10:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 698557: <4FGL_J1440.9+0609_daily_bin537> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin537 220.242 6.1631 378518401 378777601 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 :                                   640.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            873 sec.

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

