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


Performing analysis on: 4FGL_J1445.9-1626_daily_bin1092
RA = 221.498, Dec = -16.4498
tmin = 522374401, tmax = 522633601
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='752389', job_status='RUN', time_executed='2021-09-10 07:51:59.881021', time_epoch_executed='1631285519.88' WHERE source_name='4FGL J1445.9-1626' and cadence='daily' and bin_id='1092'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/752389

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/752389/ft1_4FGL_J1445.9-1626_daily_bin1092.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/752389/ft1_4FGL_J1445.9-1626_daily_bin1092.fits outfile=/scratch/kocevski/752389/ft1_filteredMKT_4FGL_J1445.9-1626_daily_bin1092.fits ra=221.498 dec=-16.4498 rad=12.0 tmin=522374401.0 tmax=522633601.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.71
user 3.45
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.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/752389/ft1_filteredMKT_4FGL_J1445.9-1626_daily_bin1092.fits evtable="EVENTS" outfile="/scratch/kocevski/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.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.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.fits" evtable="EVENTS" scfile=/scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits sctable="SC_DATA" outfile=/scratch/kocevski/752389/ltcube_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.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/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits
.....................!
real 12.34
user 11.96
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.fits evtable="EVENTS" scfile=/scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits sctable="SC_DATA" expcube=/scratch/kocevski/752389/ltcube_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.fits outfile=/scratch/kocevski/752389/expmap_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.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/752389/ltcube_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.fits
.....................!
real 192.69
user 186.44
sys 5.67

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1445.9-1626 @ 221.498 -16.4498

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.fits scfile=/scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits outfile=/scratch/kocevski/752389/cmap_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.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=221.498 yref=-16.4498 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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.fits scfile=/scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits outfile=/scratch/kocevski/752389/cmap_HighResolution_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.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=221.498 yref=-16.4498 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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.fits evtable="EVENTS" scfile=/scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/752389/Model_4FGL_J1445.9-1626_daily_bin1092.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/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.fits.....................!
real 103.87
user 102.29
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.fits', '/scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits', expMap='/scratch/kocevski/752389/expmap_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.fits', expCube='/scratch/kocevski/752389/ltcube_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/752389/Model_4FGL_J1445.9-1626_daily_bin1092.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1445.9-1626'

4FGL J1445.9-1626
   Spectrum: PowerLaw
281    Prefactor:  9.939e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
282        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.902e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/752389/ft1_filtered_4FGL_J1445.9-1626_daily_bin1092.fits
Spacecraft file(s): /scratch/kocevski/752389/ft2_4FGL_J1445.9-1626_daily_bin1092.fits
Exposure map: /scratch/kocevski/752389/expmap_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.fits
Exposure cube: /scratch/kocevski/752389/ltcube_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/752389/Model_4FGL_J1445.9-1626_daily_bin1092.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) = 13394.3381008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    24.873       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .25432E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.287       1.0000         .10000E-03   10000.    
     5 'norm      '    .13457E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1213       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1749       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10577E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.340       1.0000         .10000E-03   10000.    
    11 'norm      '    .17857       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .54833       1.0000         .10000E-03   10000.    
    14 'norm      '    21.784       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0625       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13394.29     FROM MIGRAD    STATUS=CONVERGED    292 CALLS     1274 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7421        .37467E-06** at limit **
   2  norm          24.864        7.8251        .19368E-05    .44857E-03
   3  Prefactor     .10012E-03    5.8836       -.26778E-05** at limit **
   4  Prefactor     10.288        13.618        .70444E-06    .30064E-04
   5  norm          .10000E-03    8.3886       -.46233E-05** at limit **
   6  Prefactor     2.1278        2.6540       -.45323E-06   -.80911E-03
   7  Prefactor     7.1452        33.417       -.88849E-04    .67002E-05
   8  Prefactor     .10000E-03    25.064        .15024E-05** at limit **
   9  Prefactor     .10000E-03    8.7223        .52878E-05** at limit **
  10  Prefactor     14.354        10.603        .80831E-06    .13201E-03
  11  norm          .17859        .65313E-01   -.25392E-07   -.13097E-02
  12  Prefactor     .10000E-03    2.9134       -.21372E-06** at limit **
  13  norm          .54814        .39003       -.73474E-07   -.12072E-02
  14  norm          21.785        8.3900       -.58105E-06    .27157E-06
  15  Normalizat    1.0623        .19348        .12510E-05    .37881E-03
  16  Prefactor     1.0362        .75987E-01    .12245E-05    .41668E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 24.8636
  Prefactor  = 0.000100122
  Prefactor  = 10.288
  norm       = 0.0001
  Prefactor  = 2.12783
  Prefactor  = 7.14523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3537
  norm       = 0.178588
  Prefactor  = 0.0001
  norm       = 0.548139
  norm       = 21.7852
  Normalizat = 1.06227
  Prefactor  = 1.03618
 **********
 **   18 **HESSE 
 **********

 FCN=   13394.29     FROM HESSE     STATUS=OK           207 CALLS     1481 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          24.864        7.8014        .80321E-04   -1.4710    
   3  Prefactor     .10012E-03    37.375        .53999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.288        13.615        .12493E-03   -1.5066    
   5  norm          .10000E-03    8.6002        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1278        2.6370        .20423E-03   -1.5416    
   7  Prefactor     7.1452        33.537        .14975E-03   -1.5173    
   8  Prefactor     .10000E-03    25.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.7336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.354        10.600        .10577E-03   -1.4950    
  11  norm          .17859        .64356E-01    .17164E-04   -1.5623    
  12  Prefactor     .10000E-03    2.9617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .54814        .37209        .59104E-03   -1.5560    
  14  norm          21.785        8.3943        .85819E-04   -1.4774    
  15  Normalizat    1.0623        .22533        .40110E-03   -.90972    
  16  Prefactor     1.0362        .89348E-01    .16126E-03   -.91533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66252e-09
Minuit parameter uncertainties:
  1  9.06172e-07
  2  7.80168
  3  0.00427252
  4  13.6188
  5  1.25206e-05
  6  2.63718
  7  30.9883
  8  1.43977e-05
  9  8.72464e-06
  10  10.6017
  11  0.0643562
  12  6.03808e-06
  13  0.372091
  14  8.3948
  15  0.225528
  16  0.0893606
Done.

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

Extracting fit parameters...

4FGL J1445.9-1626
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  8.725e-06  1.000e-04  1.000e+04 ( 1.000e-13)
282        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.902e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
589    Prefactor:  1.036e+00  8.936e-02  0.000e+00  1.000e+01 ( 1.000e+00)
590        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
591        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.062e+00  2.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 221.498 -16.450
Photon Flux Upper Limit: 4.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/752389/likelihoodResults_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.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) = 13394.2868114
delta logL = -0.000545696098925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13394.2862713
delta logL = -5.67903771298e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12897E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5065       1.0000          .0000       10.000    
     3 'Normalizat'    1.0616       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0364       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+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=   13394.26     FROM MIGRAD    STATUS=FAILED       172 CALLS      328 TOTAL
                     EDM=   .42E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4814        6293.6        .18142E-01    .18397E-01
   2  Index         1.3819        6.9304        .50000       -.65508E-04
   3  Normalizat    1.0645        .88452E-01    .40110E-03   -.26609E-03
   4  Prefactor     1.0347        .39427E-01    .16126E-03   -.61031E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   13394.26     FROM SIMPLEX   STATUS=UNCHANGED     93 CALLS      421 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4814        6293.6        .92888E-03    .18397E-01
   2  Index         1.3819        6.9304        .24757E-02   -.65508E-04
   3  Normalizat    1.0645        .88452E-01    .14366E-04   -.26609E-03
   4  Prefactor     1.0347        .39427E-01    .15438E-05   -.61031E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13394.26     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      459 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4815        18.790        .36285E-02    .34797E-04
   2  Index         1.3819        1.1101        .20608E-01   -.29980E-03
   3  Normalizat    1.0645        .22130        .16044E-04   -.26445E-03
   4  Prefactor     1.0347        .88812E-01    .32253E-04   -.60092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48148
  Index      = 1.38191
  Normalizat = 1.06453
  Prefactor  = 1.03471
 **********
 **   18 **HESSE 
 **********

 FCN=   13394.26     FROM HESSE     STATUS=OK            27 CALLS      486 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4815        19.546        .14514E-03   -1.5335    
   2  Index         1.3819        1.1339        .41217E-02   -.80903    
   3  Normalizat    1.0645        .22119        .32088E-05   -.90899    
   4  Prefactor     1.0347        .88772E-01    .64506E-05   -.91581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97289e-11
Minuit parameter uncertainties:
  1  16.5064
  2  1.15541
  3  0.221378
  4  0.088785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/752389': 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) = 13394.2579725
delta logL = 0.0282931382244

Extracting fit parameters...

4FGL J1445.9-1626
   Spectrum: PowerLaw
281    Prefactor:  3.481e+00  1.651e+01  1.000e-04  1.000e+04 ( 1.000e-13)
282        Index:  1.382e+00  1.155e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  7.902e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
589    Prefactor:  1.035e+00  8.879e-02  0.000e+00  1.000e+01 ( 1.000e+00)
590        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
591        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.065e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.498 -16.450

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/752389/cmap_HighResolution_522374401_522633601_4FGL_J1445.9-1626_daily_bin1092.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.80e-03', job_status='DONE', photon_flux_upper_limit='4.87e-08', time_completed='2021-09-10 08:05:26.562189', job_id='752389', GAL2='1.03', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631286326.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.83e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1092' AND source_name='4FGL J1445.9-1626' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:05:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 752389: <4FGL_J1445.9-1626_daily_bin1092> in cluster <slac> Done

Job <4FGL_J1445.9-1626_daily_bin1092> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 10 07:51:26 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 07:51:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 07:51:27 2021
Terminated at Fri Sep 10 08:05:27 2021
Results reported at Fri Sep 10 08:05:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1445.9-1626_daily_bin1092 221.498 -16.4498 522374401 522633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1445.9-1626 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   798.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             342.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

