/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 24 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 = 7443
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin49
RA = 220.242, Dec = 6.1631
tmin = 252028801, tmax = 252288001
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='695687', job_status='RUN', time_executed='2021-09-10 04:47:12.925001', time_epoch_executed='1631274432.93' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695687

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695687/ft1_4FGL_J1440.9+0609_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695687/ft2_4FGL_J1440.9+0609_daily_bin49.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695687/ft1_4FGL_J1440.9+0609_daily_bin49.fits outfile=/scratch/kocevski/695687/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin49.fits ra=220.242 dec=6.1631 rad=12.0 tmin=252028801.0 tmax=252288001.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 1.43
user 1.22
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695687/ft2_4FGL_J1440.9+0609_daily_bin49.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/695687/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin49.fits evtable="EVENTS" outfile="/scratch/kocevski/695687/ft1_filtered_4FGL_J1440.9+0609_daily_bin49.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695687/ft1_filtered_4FGL_J1440.9+0609_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/695687/ft2_4FGL_J1440.9+0609_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/695687/ltcube_252028801_252288001_4FGL_J1440.9+0609_daily_bin49.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/695687/ft2_4FGL_J1440.9+0609_daily_bin49.fits
.....................!
real 12.67
user 12.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695687/ft1_filtered_4FGL_J1440.9+0609_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/695687/ft2_4FGL_J1440.9+0609_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/695687/ltcube_252028801_252288001_4FGL_J1440.9+0609_daily_bin49.fits outfile=/scratch/kocevski/695687/expmap_252028801_252288001_4FGL_J1440.9+0609_daily_bin49.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/695687/ltcube_252028801_252288001_4FGL_J1440.9+0609_daily_bin49.fits
.....................!
real 190.48
user 185.40
sys 4.71

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/695687/ft1_filtered_4FGL_J1440.9+0609_daily_bin49.fits scfile=/scratch/kocevski/695687/ft2_4FGL_J1440.9+0609_daily_bin49.fits outfile=/scratch/kocevski/695687/cmap_252028801_252288001_4FGL_J1440.9+0609_daily_bin49.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.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.493       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.126       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    22.095       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.6944       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.2977       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.870       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.570       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8073       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.6423       1.0000         .10000E-03   10000.    
    18 'norm      '    4.8133       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10741E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    49.231       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4082       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81443       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=   12046.19     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2547 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3770       -.54023E-06** at limit **
   2  Prefactor     20.494        16.591       -.10273E-05   -.73915E-04
   3  Prefactor     39.114        30.461       -.51411E-05   -.28679E-03
   4  norm          .10000E-03    3.1538        .61585E-07** at limit **
   5  Prefactor     .10000E-03    3.5894       -.10591E-07** at limit **
   6  norm          22.096        16.917       -.33704E-06   -.29362E-04
   7  Prefactor     .10000E-03    4.1699        .30055E-07** at limit **
   8  Prefactor     8.6924        5.9161        .81102E-07   -.21647E-04
   9  Prefactor     4.2856        52.687       -.15783E-04   -.10700E-03
  10  Prefactor     .10000E-03    9.3185        .70336E-06** at limit **
  11  norm          .10000E-03    9.7244       -.61525E-06** at limit **
  12  Prefactor     13.868        20.095       -.91439E-06   -.19196E-04
  13  Prefactor     10.568        17.468       -.18848E-06    .59291E-05
  14  Prefactor     2.8045        7.3012        .34259E-05   -.12430E-02
  15  Prefactor     .10000E-03    6.9556        .34365E-07** at limit **
  16  Prefactor     .10000E-03    15.427       -.50184E-06** at limit **
  17  norm          3.6423        .31209       -.75664E-08    .96712E-03
  18  norm          4.8144        2.1366       -.49943E-07    .21840E-04
  19  norm          .10000E-03    1.4680        .74613E-07** at limit **
  20  norm          .10000E-03    1.3855       -.10367E-06** at limit **
  21  Prefactor     49.231        30.846        .68627E-06    .78818E-04
  22  Normalizat    1.4081        .18491        .13660E-05   -.37021E-04
  23  Prefactor     .81452        .10669       -.14173E-06    .19109E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.4945
  Prefactor  = 39.1145
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 22.0955
  Prefactor  = 0.0001
  Prefactor  = 8.69243
  Prefactor  = 4.28555
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.8683
  Prefactor  = 10.5678
  Prefactor  = 2.8045
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.64228
  norm       = 4.81443
  norm       = 0.0001
  norm       = 0.000100004
  Prefactor  = 49.2314
  Normalizat = 1.40807
  Prefactor  = 0.814524
 **********
 **   18 **HESSE 
 **********

 FCN=   12046.19     FROM HESSE     STATUS=OK           378 CALLS     2925 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.494        16.657        .88477E-04   -1.4802    
   3  Prefactor     39.114        31.101        .64079E-04   -1.4456    
   4  norm          .10000E-03    3.1587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.096        16.924        .85212E-04   -1.4768    
   7  Prefactor     .10000E-03    4.2417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.6924        5.9267        .13594E-03   -1.5118    
   9  Prefactor     4.2856        54.979        .19433E-03   -1.5294    
  10  Prefactor     .10000E-03    9.3430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    9.8981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.868        20.128        .10755E-03   -1.4963    
  13  Prefactor     10.568        17.497        .12324E-03   -1.5058    
  14  Prefactor     2.8045        11.733        .12139E-02   -1.5373    
  15  Prefactor     .10000E-03    6.9614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.6423        .31319        .17057E-04   -1.5326    
  18  norm          4.8144        2.1380        .99463E-04   -1.5269    
  19  norm          .10000E-03    1.4700        .12986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.8760        .42017E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     49.231        30.853        .57153E-04   -1.4304    
  22  Normalizat    1.4081        .22370        .30959E-03   -.80395    
  23  Prefactor     .81452        .12891        .23524E-03   -.99195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.88781e-09
Minuit parameter uncertainties:
  1  2.26301e-05
  2  16.6612
  3  31.1137
  4  1.45231e-07
  5  1.6137e-08
  6  16.9277
  7  2.54209e-05
  8  5.92713
  9  30.7341
  10  3.22105e-05
  11  2.96887e-05
  12  20.1377
  13  17.5058
  14  11.4761
  15  6.08363e-07
  16  3.59868e-05
  17  0.31319
  18  2.13806
  19  8.91229e-07
  20  0.000220518
  21  30.8626
  22  0.223854
  23  0.128956
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  3.221e-05  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.145e-01  1.290e-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.408e+00  2.239e-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: 4.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695687/likelihoodResults_252028801_252288001_4FGL_J1440.9+0609_daily_bin49.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) = 12046.1954302
delta logL = -0.000509918481839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12046.1949203
delta logL = -1.00189936347e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1006       1.0000          .0000       10.000    
     3 'Normalizat'    1.4080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81453       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=   12046.19     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    126.53        .90712E-02** at limit **
   2  Index         2.0818        8.7152        .50000        .15738E-04
   3  Normalizat    1.4081        .16519E-01    .69976E-01    .56231E-04
   4  Prefactor     .81452        .99076E-02    .43906E-01    .79424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.08184
  Normalizat = 1.40808
  Prefactor  = 0.814523
 **********
 **   18 **HESSE 
 **********

 FCN=   12046.19     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1655.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0818        6.0405        .50000       -.62319    
   3  Normalizat    1.4081        .87963E-01    .30959E-03   -.80395    
   4  Prefactor     .81452        .52784E-01    .23524E-03   -.99195    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.5774e-08
Minuit parameter uncertainties:
  1  1.97582e-05
  2  54.9379
  3  0.0879725
  4  0.0527876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695687': 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) = 12046.1949201
delta logL = 1.561420504e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  1.976e-05  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.082e+00  5.494e+01  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  8.145e-01  5.279e-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.408e+00  8.797e-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/695687/cmap_HighResolution_252028801_252288001_4FGL_J1440.9+0609_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', job_status='DONE', photon_flux_upper_limit='4.06e-08', time_completed='2021-09-10 05:01:43.101134', job_id='695687', GAL2='0.81', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1631275303.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='49' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:01:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 695687: <4FGL_J1440.9+0609_daily_bin49> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin49 220.242 6.1631 252028801 252288001 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 :                                   869.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             351.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            904 sec.

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

