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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin786
RA = 220.242, Dec = 6.1631
tmin = 443059201, tmax = 443318401
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='699975', job_status='RUN', time_executed='2021-09-10 05:05:07.190279', time_epoch_executed='1631275507.19' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='786'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699975

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699975/ft1_4FGL_J1440.9+0609_daily_bin786.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699975/ft2_4FGL_J1440.9+0609_daily_bin786.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699975/ft1_4FGL_J1440.9+0609_daily_bin786.fits outfile=/scratch/kocevski/699975/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin786.fits ra=220.242 dec=6.1631 rad=12.0 tmin=443059201.0 tmax=443318401.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.82
user 3.59
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699975/ft1_filtered_4FGL_J1440.9+0609_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/699975/ft2_4FGL_J1440.9+0609_daily_bin786.fits sctable="SC_DATA" expcube=/scratch/kocevski/699975/ltcube_443059201_443318401_4FGL_J1440.9+0609_daily_bin786.fits outfile=/scratch/kocevski/699975/expmap_443059201_443318401_4FGL_J1440.9+0609_daily_bin786.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/699975/ltcube_443059201_443318401_4FGL_J1440.9+0609_daily_bin786.fits
.....................!
real 192.06
user 187.52
sys 3.98

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/699975/ft1_filtered_4FGL_J1440.9+0609_daily_bin786.fits scfile=/scratch/kocevski/699975/ft2_4FGL_J1440.9+0609_daily_bin786.fits outfile=/scratch/kocevski/699975/cmap_443059201_443318401_4FGL_J1440.9+0609_daily_bin786.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699975/ft1_filtered_4FGL_J1440.9+0609_daily_bin786.fits scfile=/scratch/kocevski/699975/ft2_4FGL_J1440.9+0609_daily_bin786.fits outfile=/scratch/kocevski/699975/cmap_HighResolution_443059201_443318401_4FGL_J1440.9+0609_daily_bin786.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/699975/ft1_filtered_4FGL_J1440.9+0609_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/699975/ft2_4FGL_J1440.9+0609_daily_bin786.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/699975/Model_4FGL_J1440.9+0609_daily_bin786.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/699975/ft1_filtered_4FGL_J1440.9+0609_daily_bin786.fits.....................!
real 55.59
user 54.17
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8260       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.493       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.737       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5723       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.073       1.0000         .10000E-03   10000.    
    11 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9010       1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.399       1.0000         .10000E-03   10000.    
    15 'Prefactor '    57.265       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.3438       1.0000         .10000E-03   10000.    
    17 'norm      '    .70772       1.0000         .10000E-03   10000.    
    18 'norm      '    .19785E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.5462       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.280       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2362       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82674       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=   7309.362     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2586 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8261        5.8909       -.16809E-05   -.26661E-03
   2  Prefactor     .10000E-03    7.9475       -.27221E-07** at limit **
   3  Prefactor     .10000E-03    23.852       -.69838E-08** at limit **
   4  norm          10.495        10.126       -.58400E-08    .28252E-05
   5  Prefactor     30.741        23.349        .57226E-07   -.18322E-04
   6  norm          .10000E-03    9.5855       -.59649E-07** at limit **
   7  Prefactor     .10000E-03    3.3386        .64617E-07** at limit **
   8  Prefactor     6.5725        4.9942        .35421E-07    .77751E-06
   9  Prefactor     .10000E-03    12.343       -.64979E-07** at limit **
  10  Prefactor     14.079        27.188        .54332E-07   -.83634E-05
  11  norm          .10000E-03    17.331       -.61895E-06** at limit **
  12  Prefactor     .10000E-03    7.4424        .44763E-06** at limit **
  13  Prefactor     7.8996        25.675        .28400E-06   -.67074E-05
  14  Prefactor     31.401        20.067       -.59426E-07    .34046E-04
  15  Prefactor     57.265        32.576       -.21637E-06    .61372E-04
  16  Prefactor     8.2261        57.868        .13076E-05   -.54964E-05
  17  norm          .70768        .21994        .14631E-08   -.23805E-03
  18  norm          .10010E-03    .92633        .36235E-06** at limit **
  19  norm          .10000E-03    2.8896       -.13095E-07** at limit **
  20  norm          3.5461        3.1939        .78338E-07   -.11272E-03
  21  Prefactor     10.290        23.716       -.15684E-07   -.28343E-04
  22  Normalizat    1.2362        .20452       -.70418E-06   -.58905E-04
  23  Prefactor     .82675        .11915        .58152E-06   -.14449E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.82607
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.4952
  Prefactor  = 30.7409
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.57251
  Prefactor  = 0.0001
  Prefactor  = 14.0787
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.8996
  Prefactor  = 31.4005
  Prefactor  = 57.2653
  Prefactor  = 8.22614
  norm       = 0.70768
  norm       = 0.000100099
  norm       = 0.0001
  norm       = 3.54615
  Prefactor  = 10.2905
  Normalizat = 1.23618
  Prefactor  = 0.826749
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.362     FROM HESSE     STATUS=OK           376 CALLS     2962 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8261        5.9312        .83194E-03   -1.5225    
   2  Prefactor     .10000E-03    7.9599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    23.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.495        10.130        .12369E-03   -1.5060    
   5  Prefactor     30.741        23.428        .72269E-04   -1.4599    
   6  norm          .10000E-03    9.5922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3562        .15252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.5725        5.0016        .15654E-03   -1.5195    
   9  Prefactor     .10000E-03    12.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.079        27.159        .10677E-03   -1.4957    
  11  norm          .10000E-03    17.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.4476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.8996        25.677        .14265E-03   -1.5146    
  14  Prefactor     31.401        20.071        .71506E-04   -1.4587    
  15  Prefactor     57.265        32.414        .53013E-04   -1.4193    
  16  Prefactor     8.2261        57.478        .13879E-03   -1.5134    
  17  norm          .70768        .21910        .21001E-04   -1.5540    
  18  norm          .10010E-03    14.145        .14557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.8989        .14193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.5461        3.1736        .13927E-03   -1.5331    
  21  Prefactor     10.290        23.702        .12497E-03   -1.5066    
  22  Normalizat    1.2362        .24290        .28558E-03   -.85492    
  23  Prefactor     .82675        .14110        .20527E-03   -.98750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49623e-09
Minuit parameter uncertainties:
  1  5.93176
  2  5.69078e-07
  3  3.90558e-06
  4  10.1313
  5  23.4348
  6  2.35752e-06
  7  1.42364e-06
  8  5.00187
  9  1.42078e-05
  10  27.1832
  11  2.88451e-05
  12  1.40871e-05
  13  25.7132
  14  20.0751
  15  32.4239
  16  43.5483
  17  0.219097
  18  0.00236189
  19  8.81979e-07
  20  3.17371
  21  23.7239
  22  0.243118
  23  0.141163
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.408e+01  2.718e+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.267e-01  1.412e-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.236e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/699975/likelihoodResults_443059201_443318401_4FGL_J1440.9+0609_daily_bin786.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) = 7309.36156813
delta logL = 0.000246070901994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7309.3614483
delta logL = 0.000365899136341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.632       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1543       1.0000          .0000       10.000    
     3 'Normalizat'    1.2353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82686       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7309.361     FROM MIGRAD    STATUS=FAILED       100 CALLS      278 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.623        35.859        .10848E-03   -.68117E-05
   2  Index         2.1527        1.3356        .14024E-01    .47722E-03
   3  Normalizat    1.2354        .23327        .28567E-03    .23998E-04
   4  Prefactor     .82699        .13948        .20524E-03   -.47138E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7309.361     FROM SIMPLEX   STATUS=UNCHANGED     69 CALLS      347 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.623        35.859        .51003E-03   -1.4970    
   2  Index         2.1527        1.3356        .15615E-02   -.60585    
   3  Normalizat    1.2354        .23327        .40590E-03   -.85517    
   4  Prefactor     .82699        .13948        .19380E-03   -.98741    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7309.361     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      375 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.623        32.024        .43394E-05   -.15719E-05
   2  Index         2.1527        1.1971        .28048E-02    .92820E-06
   3  Normalizat    1.2354        .23276        .11427E-04   -.19899E-06
   4  Prefactor     .82699        .13941        .82097E-05   -.55391E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6226
  Index      = 2.15269
  Normalizat = 1.23535
  Prefactor  = 0.82699
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.361     FROM HESSE     STATUS=OK            25 CALLS      400 TOTAL
                     EDM=   .24E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.623        31.331        .86788E-06   -1.4970    
   2  Index         2.1527        1.1730        .11219E-03   -.60585    
   3  Normalizat    1.2354        .23204        .22853E-05   -.85517    
   4  Prefactor     .82699        .13903        .16419E-05   -.98741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3531e-14
Minuit parameter uncertainties:
  1  31.3685
  2  1.18954
  3  0.232233
  4  0.139094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699975': 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) = 7309.36144497
delta logL = 0.000369226541807

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.362e+01  3.137e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.153e+00  1.190e+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.270e-01  1.391e-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.235e+00  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
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/699975/cmap_HighResolution_443059201_443318401_4FGL_J1440.9+0609_daily_bin786.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.87e-03', job_status='DONE', photon_flux_upper_limit='9.07e-08', time_completed='2021-09-10 05:16:04.301250', job_id='699975', GAL2='0.83', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1631276164.3', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.69e-04', ts2='0.36', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='786' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:16:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 699975: <4FGL_J1440.9+0609_daily_bin786> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin786> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 05:01:08 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:01:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:01:10 2021
Terminated at Fri Sep 10 05:16:05 2021
Results reported at Fri Sep 10 05:16:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin786 220.242 6.1631 443059201 443318401 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 :                                   656.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             258.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            897 sec.

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

