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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin667
RA = 237.385, Dec = 2.6084
tmin = 412214401, tmax = 412473601
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='737180', job_status='RUN', time_executed='2021-09-12 14:56:36.905533', time_epoch_executed='1631483796.91' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/737180

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/737180/ft1_4FGL_J1549.5+0236_daily_bin667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/737180/ft1_4FGL_J1549.5+0236_daily_bin667.fits outfile=/scratch/kocevski/737180/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin667.fits ra=237.385 dec=2.6084 rad=12.0 tmin=412214401.0 tmax=412473601.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.43
user 3.20
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.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/737180/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin667.fits evtable="EVENTS" outfile="/scratch/kocevski/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.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.52
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.fits" evtable="EVENTS" scfile=/scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits sctable="SC_DATA" outfile=/scratch/kocevski/737180/ltcube_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.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/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits
.....................!
real 14.59
user 14.20
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.fits evtable="EVENTS" scfile=/scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits sctable="SC_DATA" expcube=/scratch/kocevski/737180/ltcube_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.fits outfile=/scratch/kocevski/737180/expmap_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.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/737180/ltcube_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.fits
.....................!
real 192.03
user 186.23
sys 5.41

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1549.5+0236 @ 237.385 2.6084

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.fits scfile=/scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits outfile=/scratch/kocevski/737180/cmap_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.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=237.385 yref=2.6084 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.fits scfile=/scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits outfile=/scratch/kocevski/737180/cmap_HighResolution_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.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=237.385 yref=2.6084 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.fits evtable="EVENTS" scfile=/scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/737180/Model_4FGL_J1549.5+0236_daily_bin667.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/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.fits......................!
real 20.97
user 19.70
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.fits', '/scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits', expMap='/scratch/kocevski/737180/expmap_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.fits', expCube='/scratch/kocevski/737180/ltcube_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/737180/Model_4FGL_J1549.5+0236_daily_bin667.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1549.5+0236'

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  2.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/737180/ft1_filtered_4FGL_J1549.5+0236_daily_bin667.fits
Spacecraft file(s): /scratch/kocevski/737180/ft2_4FGL_J1549.5+0236_daily_bin667.fits
Exposure map: /scratch/kocevski/737180/expmap_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.fits
Exposure cube: /scratch/kocevski/737180/ltcube_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/737180/Model_4FGL_J1549.5+0236_daily_bin667.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1118.23349522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1116.4417341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3577       1.0000         .10000E-03   10000.    
     2 'norm      '    21.910       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11962E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.9311       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.7523       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10341E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .25691       1.0000         .10000E-03   10000.    
    10 'norm      '    12.820       1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .42189       1.0000         .10000E-03   10000.    
    13 'norm      '    .64289       1.0000         .10000E-03   10000.    
    14 'Prefactor '    611.20       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .27337       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1116.438     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      491 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3870        11.681        .39797E-02    .30333E-01
   2  norm          21.917        22.588        .21393E-02   -.49910E-02
   3  Prefactor     .10134E-03    181.25        .10320E-01** at limit **
   4  Prefactor     8.9680        17.420        .33530E-02    .79269E-02
   5  Prefactor     .10001E-03    37.580        .90712E-02** at limit **
   6  Prefactor     9.7523        1.0013         .0000         .0000    
   7  Prefactor     .10000E-03    .20571        .30030E-05** at limit **
   8  norm          .10000E-03    .20571       -.10900E-05** at limit **
   9  Prefactor     .12153E-03    .26186       -.11913E-05** at limit **
  10  norm          12.771        .99885        .15342E-06    .43357E-02
  11  norm          .10000E-03    .20571       -.15140E-06** at limit **
  12  norm          2.7190        1.8049       -.14514E-04    .96263E-05
  13  norm          .11657E-03    .35051       -.49171E-06** at limit **
  14  Prefactor     611.22        1.0000       -.13837E-08   -.42508E-01
  15  Prefactor     .10000E-03    .20571       -.52210E-05** at limit **
  16  Normalizat    .26402        .55782       -.45658E-04   -.26670E-04
  17  Prefactor     1.0171        1.2429        .73437E-05   -.88584E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.387
  norm       = 21.9174
  Prefactor  = 0.000101337
  Prefactor  = 8.96801
  Prefactor  = 0.000100009
  Prefactor  = 9.7523
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000121525
  norm       = 12.7705
  norm       = 0.0001
  norm       = 2.71902
  norm       = 0.00011657
  Prefactor  = 611.223
  Prefactor  = 0.0001
  Normalizat = 0.264023
  Prefactor  = 1.01713
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1116.438     FROM HESSE     STATUS=FAILED        21 CALLS      512 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3870        11.681        .39797E-02   -1.5202    
   2  norm          21.917        22.588        .21393E-02   -1.4771    
   3  Prefactor     .10134E-03    181.25        .10320E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.9680        17.420        .33530E-02   -1.5109    
   5  Prefactor     .10001E-03    37.580        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     492.41        482.63         .0000       -1.5083    
   7  Prefactor     .10000E-03    .20571        .30030E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .20571       -.10900E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .12153E-03    .26186       -.11913E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.771        .99885        .15342E-06   -1.4993    
  11  norm          .10000E-03    .20571       -.15140E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7190        1.8049       -.14514E-04   -1.5378    
  13  norm          .11657E-03    .35051       -.49171E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     611.22        1.0000       -.13837E-08   -1.0712    
  15  Prefactor     .10000E-03    .20571       -.52210E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .26402        .55782       -.45658E-04   -1.2505    
  17  Prefactor     1.0171        1.2429        .73437E-05   -.92161    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.94602e-10
Minuit parameter uncertainties:
  1  11.685
  2  22.597
  3  0.0312317
  4  17.43
  5  0.00114279
  6  1.00132
  7  3.41501e-05
  8  1.22907e-06
  9  0.00474831
  10  0.998847
  11  1.50841e-06
  12  1.80492
  13  0.00482
  14  1.00002
  15  1.69941e-05
  16  0.570232
  17  1.28087
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1116.43757928

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.000e-04  3.415e-05  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.017e+00  1.281e+00  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  2.640e-01  5.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.385 2.608
Photon Flux Upper Limit: 6.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/737180/likelihoodResults_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.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) = 1116.43777706
delta logL = -0.000197780928602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1116.4375817
delta logL = -2.41711586568e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8563       1.0000          .0000       10.000    
     3 'Normalizat'    .26402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+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=   1116.438     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      303 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    205.55        .11225E-01** at limit **
   2  Index         1.8438        7.4918        .50000        .75369E-07
   3  Normalizat    .26406        .28510E-01    .65344E-03    .11839E-02
   4  Prefactor     1.0172        .13086E-01    .15638E-03    .50427E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 1.84382
  Normalizat = 0.26406
  Prefactor  = 1.01715
 **********
 **   18 **HESSE 
 **********

 FCN=   1116.438     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      332 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    6942.1        .44900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8438        5.8691        .50000       -.68315    
   3  Normalizat    .26406        .14498        .13069E-03   -1.2505    
   4  Prefactor     1.0172        .66633E-01    .31277E-04   -.92160    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.28944e-08
Minuit parameter uncertainties:
  1  0.00975976
  2  1878.82
  3  0.14519
  4  0.0666381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/737180': 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) = 1116.43757818
delta logL = 1.10409905574e-06

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.000e-04  9.760e-03  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  1.844e+00  1.879e+03  0.000e+00  1.000e+01 (-1.000e+00)
239        Scale:  8.442e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.017e+00  6.664e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  2.641e-01  1.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.385 2.608

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/737180/cmap_HighResolution_412214401_412473601_4FGL_J1549.5+0236_daily_bin667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-02', job_status='DONE', photon_flux_upper_limit='6.48e-07', time_completed='2021-09-12 15:02:12.646959', job_id='737180', GAL2='1.02', fit_tolerance='1e-08', EG2='0.26', EG='0.26', time_epoch_completed='1631484132.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.02', dlogl='1.10e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='667' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:02:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 737180: <4FGL_J1549.5+0236_daily_bin667> in cluster <slac> Done

Job <4FGL_J1549.5+0236_daily_bin667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 14:55:21 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 14:56:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 14:56:23 2021
Terminated at Sun Sep 12 15:02:13 2021
Results reported at Sun Sep 12 15:02:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin667 237.385 2.6084 412214401 412473601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1549.5+0236 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   334.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             290.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   349 sec.
    Turnaround time :                            412 sec.

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

