/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 167 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 = 7433
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin344
RA = 220.242, Dec = 6.1631
tmin = 328492801, tmax = 328752001
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='697264', job_status='RUN', time_executed='2021-09-10 04:54:45.085994', time_epoch_executed='1631274885.09' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='344'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697264

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697264/ft1_4FGL_J1440.9+0609_daily_bin344.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697264/ft2_4FGL_J1440.9+0609_daily_bin344.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697264/ft1_4FGL_J1440.9+0609_daily_bin344.fits outfile=/scratch/kocevski/697264/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin344.fits ra=220.242 dec=6.1631 rad=12.0 tmin=328492801.0 tmax=328752001.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.17
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/697264/ft2_4FGL_J1440.9+0609_daily_bin344.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/697264/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin344.fits evtable="EVENTS" outfile="/scratch/kocevski/697264/ft1_filtered_4FGL_J1440.9+0609_daily_bin344.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.50
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697264/ft1_filtered_4FGL_J1440.9+0609_daily_bin344.fits evtable="EVENTS" scfile=/scratch/kocevski/697264/ft2_4FGL_J1440.9+0609_daily_bin344.fits sctable="SC_DATA" expcube=/scratch/kocevski/697264/ltcube_328492801_328752001_4FGL_J1440.9+0609_daily_bin344.fits outfile=/scratch/kocevski/697264/expmap_328492801_328752001_4FGL_J1440.9+0609_daily_bin344.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/697264/ltcube_328492801_328752001_4FGL_J1440.9+0609_daily_bin344.fits
.....................!
real 190.93
user 184.85
sys 5.54

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/697264/ft1_filtered_4FGL_J1440.9+0609_daily_bin344.fits scfile=/scratch/kocevski/697264/ft2_4FGL_J1440.9+0609_daily_bin344.fits outfile=/scratch/kocevski/697264/cmap_328492801_328752001_4FGL_J1440.9+0609_daily_bin344.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697264/ft1_filtered_4FGL_J1440.9+0609_daily_bin344.fits scfile=/scratch/kocevski/697264/ft2_4FGL_J1440.9+0609_daily_bin344.fits outfile=/scratch/kocevski/697264/cmap_HighResolution_328492801_328752001_4FGL_J1440.9+0609_daily_bin344.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1048       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    37.267       1.0000         .10000E-03   10000.    
     6 'norm      '    6.9634       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1793       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .65584E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    100.37       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.227       1.0000         .10000E-03   10000.    
    11 'norm      '    32.641       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.988       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10737E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    44.629       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5228       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4404       1.0000         .10000E-03   10000.    
    18 'norm      '    4.0098       1.0000         .10000E-03   10000.    
    19 'norm      '    3.0919       1.0000         .10000E-03   10000.    
    20 'norm      '    .35529       1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.595       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1838       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84693       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=   7138.545     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2683 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1036        9.6464       -.19396E-06    .87077E-05
   2  Prefactor     .10000E-03    12.612        .23939E-06** at limit **
   3  Prefactor     .10000E-03    9.3854       -.93635E-06** at limit **
   4  norm          .10000E-03    4.5451       -.47646E-07** at limit **
   5  Prefactor     37.251        33.114       -.49908E-06    .19047E-04
   6  norm          6.9663        18.723        .12930E-06    .11696E-04
   7  Prefactor     5.1858        8.2846       -.26769E-06   -.13636E-03
   8  Prefactor     .10001E-03    86.319        .28041E-04** at limit **
   9  Prefactor     100.21        73.773       -.83731E-05   -.45948E-04
  10  Prefactor     25.228        31.816        .38490E-06    .23260E-04
  11  norm          32.638        24.314       -.75939E-07    .44515E-04
  12  Prefactor     25.992        33.760        .23554E-05    .98817E-04
  13  Prefactor     .10000E-03    21.023       -.69162E-06** at limit **
  14  Prefactor     .10000E-03    12.927       -.11798E-05** at limit **
  15  Prefactor     44.624        35.890       -.45453E-06    .57650E-04
  16  Prefactor     5.5523        63.244        .26812E-05    .17186E-04
  17  norm          1.4404        .27391       -.18796E-07    .15909E-02
  18  norm          4.0117        2.5881       -.10418E-06    .49012E-03
  19  norm          3.0921        3.8110        .57823E-06    .22749E-03
  20  norm          .34649        2.1661       -.21275E-06    .63099E-04
  21  Prefactor     22.600        28.234       -.21859E-06    .44792E-04
  22  Normalizat    1.1842        .23040       -.33853E-06    .68275E-03
  23  Prefactor     .84677        .13218        .31716E-05    .25029E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.10364
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.2511
  norm       = 6.96631
  Prefactor  = 5.18584
  Prefactor  = 0.000100007
  Prefactor  = 100.205
  Prefactor  = 25.2282
  norm       = 32.6379
  Prefactor  = 25.9918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.6236
  Prefactor  = 5.55232
  norm       = 1.44039
  norm       = 4.01166
  norm       = 3.09206
  norm       = 0.346485
  Prefactor  = 22.6002
  Normalizat = 1.18417
  Prefactor  = 0.846766
 **********
 **   18 **HESSE 
 **********

 FCN=   7138.545     FROM HESSE     STATUS=OK           378 CALLS     3061 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1036        9.6482        .13283E-03   -1.5104    
   2  Prefactor     .10000E-03    12.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.3972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.5524        .17592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.251        33.414        .65652E-04   -1.4487    
   6  norm          6.9663        18.694        .15203E-03   -1.5180    
   7  Prefactor     5.1858        8.7728        .88320E-03   -1.5252    
   8  Prefactor     .10001E-03    6.2136        .59931E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     100.21        74.494        .20064E-03   -1.3703    
  10  Prefactor     25.228        31.848        .79755E-04   -1.4703    
  11  norm          32.638        24.344        .70136E-04   -1.4565    
  12  Prefactor     25.992        33.749        .78581E-04   -1.4688    
  13  Prefactor     .10000E-03    21.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     44.624        35.810        .60014E-04   -1.4371    
  16  Prefactor     5.5523        62.589        .17096E-03   -1.5237    
  17  norm          1.4404        .27462        .18373E-04   -1.5468    
  18  norm          4.0117        2.5673        .10154E-03   -1.5307    
  19  norm          3.0921        3.8111        .89380E-03   -1.5356    
  20  norm          .34649        8.9461        .23280E-02   -1.5590    
  21  Prefactor     22.600        28.223        .84266E-04   -1.4757    
  22  Normalizat    1.1842        .26539        .31377E-03   -.87093    
  23  Prefactor     .84677        .14602        .21305E-03   -.98027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28614e-09
Minuit parameter uncertainties:
  1  9.64983
  2  1.83427e-05
  3  3.01292e-05
  4  1.21988e-05
  5  33.4305
  6  18.7101
  7  8.77493
  8  0.00042318
  9  74.5636
  10  31.8698
  11  24.3511
  12  33.774
  13  0.000100896
  14  0.000117855
  15  35.8273
  16  37.3326
  17  0.274624
  18  2.56736
  19  3.81137
  20  3.52127
  21  28.2396
  22  0.265692
  23  0.146091
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.523e+01  3.187e+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:  8.468e-01  1.461e-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.184e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.82
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.67e-08 +/- 3.37e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 1.77e-05

TS (Fixed Index): 1.82
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/697264/likelihoodResults_328492801_328752001_4FGL_J1440.9+0609_daily_bin344.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) = 7138.54333858
delta logL = 0.00148679968152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7138.53988603
delta logL = 0.00493934532642

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.025       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3077       1.0000          .0000       10.000    
     3 'Normalizat'    1.1743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84982       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=   7138.540     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      300 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.995        1013.6        .87351E-04   -.19522E-05
   2  Index         2.3088        6.7946        .12597E-01    .29887E-04
   3  Normalizat    1.1742        .64057        .31487E-03    .17692E-04
   4  Prefactor     .84985        .20781        .21269E-03    .20953E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.995
  Index      = 2.3088
  Normalizat = 1.17416
  Prefactor  = 0.84985
 **********
 **   18 **HESSE 
 **********

 FCN=   7138.540     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .51E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.995        54.947        .34940E-05   -1.4791    
   2  Index         2.3088        2.0651        .50387E-03   -.56835    
   3  Normalizat    1.1742        .27561        .12595E-04   -.87405    
   4  Prefactor     .84985        .14834        .85078E-05   -.97916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11207e-13
Minuit parameter uncertainties:
  1  55.0797
  2  2.15818
  3  0.275954
  4  0.148413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697264': 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) = 7138.53988583
delta logL = 0.0049395495771

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.099e+01  5.508e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.309e+00  2.158e+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:  8.499e-01  1.484e-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.174e+00  2.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 220.242 6.163
Photon Index (Free Index): 2.31 +/- 2.16
Photon Flux (Free Index): 3.57e-08 +/- 1.19e-07
Energy Flux (Free Index): 1.33e-05 +/- 1.45e-05

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/697264/cmap_HighResolution_328492801_328752001_4FGL_J1440.9+0609_daily_bin344.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.27e-03', comment='SUCCESS', photon_flux='2.67e-08', energy_flux2='1.33e-05', photon_flux_error='3.37e-08', dlogl='4.94e-03', energy_flux='1.40e-05', photon_flux2='3.57e-08', job_status='DONE', time_completed='2021-09-10 05:05:23.216915', photon_index_error2='2.16', photon_index2='2.31', ts='1.82', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.45e-05', EG='1.18', time_epoch_completed='1631275523.22', return_code='0', job_id='697264', GAL2='0.85', EG2='1.17', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='1.19e-07', ts2='1.85', photon_index='2.12' WHERE bin_id='344' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:05:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 697264: <4FGL_J1440.9+0609_daily_bin344> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin344> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 04:51:48 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:51:49 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:51:49 2021
Terminated at Fri Sep 10 05:05:23 2021
Results reported at Fri Sep 10 05:05:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin344 220.242 6.1631 328492801 328752001 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 :                                   637.05 sec.
    Max Memory :                                 1125 MB
    Average Memory :                             283.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            815 sec.

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

