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


Performing analysis on: 4FGL_J1544.3-0649_daily_bin971
RA = 236.079, Dec = -6.8255
tmin = 491011201, tmax = 491270401
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='695123', job_status='RUN', time_executed='2021-09-12 12:36:46.000426', time_epoch_executed='1631475406.0' WHERE source_name='4FGL J1544.3-0649' and cadence='daily' and bin_id='971'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695123

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695123/ft1_4FGL_J1544.3-0649_daily_bin971.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695123/ft1_4FGL_J1544.3-0649_daily_bin971.fits outfile=/scratch/kocevski/695123/ft1_filteredMKT_4FGL_J1544.3-0649_daily_bin971.fits ra=236.079 dec=-6.8255 rad=12.0 tmin=491011201.0 tmax=491270401.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.62
user 3.38
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.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/695123/ft1_filteredMKT_4FGL_J1544.3-0649_daily_bin971.fits evtable="EVENTS" outfile="/scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits" evtable="EVENTS" scfile=/scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits sctable="SC_DATA" outfile=/scratch/kocevski/695123/ltcube_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.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/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits
.....................!
real 14.10
user 13.74
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits evtable="EVENTS" scfile=/scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits sctable="SC_DATA" expcube=/scratch/kocevski/695123/ltcube_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.fits outfile=/scratch/kocevski/695123/expmap_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.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/695123/ltcube_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.fits
.....................!
real 191.77
user 186.07
sys 5.22

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 162 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1544.3-0649 @ 236.079 -6.8255

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits scfile=/scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits outfile=/scratch/kocevski/695123/cmap_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.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=236.079 yref=-6.8255 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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits scfile=/scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits outfile=/scratch/kocevski/695123/cmap_HighResolution_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.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=236.079 yref=-6.8255 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits evtable="EVENTS" scfile=/scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695123/Model_4FGL_J1544.3-0649_daily_bin971.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits.....................!
real 107.09
user 105.58
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits', '/scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits', expMap='/scratch/kocevski/695123/expmap_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.fits', expCube='/scratch/kocevski/695123/ltcube_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/695123/Model_4FGL_J1544.3-0649_daily_bin971.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1544.3-0649'

4FGL J1544.3-0649
   Spectrum: PowerLaw
260    Prefactor:  9.752e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
261        Index:  1.866e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  3.286e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/695123/ft1_filtered_4FGL_J1544.3-0649_daily_bin971.fits
Spacecraft file(s): /scratch/kocevski/695123/ft2_4FGL_J1544.3-0649_daily_bin971.fits
Exposure map: /scratch/kocevski/695123/expmap_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.fits
Exposure cube: /scratch/kocevski/695123/ltcube_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/695123/Model_4FGL_J1544.3-0649_daily_bin971.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) = 11688.034884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2175       1.0000         .10000E-03   10000.    
     2 'norm      '    9.2411       1.0000         .10000E-03   10000.    
     3 'norm      '    .76505       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0377       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2034       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.878       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14792E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11205E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0238       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11687.91     FROM MIGRAD    STATUS=CONVERGED    244 CALLS      973 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2144        4.7115       -.13384E-05   -.26165E-03
   2  norm          9.2181        5.7650       -.84845E-06   -.55139E-05
   3  norm          .76514        .14050       -.72507E-07    .35096E-02
   4  Prefactor     7.0281        6.8167        .37259E-05   -.18805E-03
   5  norm          .10000E-03    2.2541       -.18246E-07** at limit **
   6  Prefactor     .10000E-03    5.2055        .72958E-07** at limit **
   7  Prefactor     3.2889        31.747        .23999E-05   -.45094E-04
   8  Prefactor     25.880        34.046        .26676E-05   -.15141E-05
   9  Prefactor     .10000E-03    15.912       -.12696E-05** at limit **
  10  Prefactor     .10000E-03    3.7598        .25550E-07** at limit **
  11  Prefactor     .10000E-03    19.433        .15304E-05** at limit **
  12  Normalizat    1.0239        .27324        .58466E-07   -.70973E-04
  13  Prefactor     1.0793        .76422E-01   -.89139E-07   -.10532E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.21438
  norm       = 9.21813
  norm       = 0.765142
  Prefactor  = 7.02813
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.28887
  Prefactor  = 25.8805
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02394
  Prefactor  = 1.0793
 **********
 **   18 **HESSE 
 **********

 FCN=   11687.91     FROM HESSE     STATUS=OK           147 CALLS     1120 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2144        4.7712        .17598E-03   -1.5251    
   2  norm          9.2181        5.7664        .13184E-03   -1.5101    
   3  norm          .76514        .14114        .14987E-04   -1.5533    
   4  Prefactor     7.0281        6.7561        .15122E-03   -1.5178    
   5  norm          .10000E-03    2.2621        .15850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3807        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.2889        31.509        .22637E-03   -1.5345    
   8  Prefactor     25.880        34.070        .78747E-04   -1.4690    
   9  Prefactor     .10000E-03    15.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8626        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0239        .30367        .54480E-03   -.92233    
  13  Prefactor     1.0793        .85618E-01    .15200E-03   -.90131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85439e-10
Minuit parameter uncertainties:
  1  4.77157
  2  5.76675
  3  0.141141
  4  6.75681
  5  9.76117e-07
  6  2.33891e-06
  7  20.3735
  8  34.0958
  9  2.67109e-06
  10  1.80966e-06
  11  1.47421e-07
  12  0.304181
  13  0.0856284
Done.

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

Extracting fit parameters...

4FGL J1544.3-0649
   Spectrum: PowerLaw
260    Prefactor:  2.588e+01  3.410e+01  1.000e-04  1.000e+04 ( 1.000e-14)
261        Index:  1.866e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  3.286e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  1.079e+00  8.563e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.024e+00  3.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 236.079 -6.825
Photon Index (Fixed Index): 1.87 +/- 0.00
Photon Flux (Fixed Index): 2.02e-08 +/- 2.65e-08
Energy Flux (Fixed Index): 1.99e-05 +/- 2.62e-05

TS (Fixed Index): 1.07
Ra Dec: 236.079 -6.825
Photon Flux Upper Limit: 9.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695123/likelihoodResults_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.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) = 11687.8691543
delta logL = 0.0367666677575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11687.8598279
delta logL = 0.0460931419439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.159       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1374       1.0000          .0000       10.000    
     3 'Normalizat'    1.0138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0799       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+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=   11687.86     FROM MIGRAD    STATUS=FAILED       101 CALLS      273 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.133        40.307        .87075E-04   -.30551E-04
   2  Index         2.1388        1.0739        .13926E-01    .91961E-03
   3  Normalizat    1.0138        .30008        .54722E-03    .50401E-04
   4  Prefactor     1.0799        .85370E-01    .15196E-03   -.27110E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11687.86     FROM SIMPLEX   STATUS=UNCHANGED     78 CALLS      351 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.133        40.307        .25888E-03   -1.4788    
   2  Index         2.1388        1.0739        .72012E-03   -.60922    
   3  Normalizat    1.0138        .30008        .50747E-03   -.92568    
   4  Prefactor     1.0799        .85370E-01    .11779E-03   -.90111    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11687.86     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      379 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.133        34.873        .34830E-05   -.65281E-05
   2  Index         2.1388        .93096        .27852E-02    .26042E-05
   3  Normalizat    1.0138        .29851        .21889E-04   -.12465E-05
   4  Prefactor     1.0799        .85288E-01    .30392E-04   -.35911E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1327
  Index      = 2.13884
  Normalizat = 1.01384
  Prefactor  = 1.07992
 **********
 **   18 **HESSE 
 **********

 FCN=   11687.86     FROM HESSE     STATUS=OK            25 CALLS      404 TOTAL
                     EDM=   .63E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.133        34.542        .69660E-06   -1.4788    
   2  Index         2.1388        .91371        .11141E-03   -.60922    
   3  Normalizat    1.0138        .29830        .43777E-05   -.92568    
   4  Prefactor     1.0799        .85287E-01    .60783E-05   -.90111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3143e-13
Minuit parameter uncertainties:
  1  34.5751
  2  0.921448
  3  0.298796
  4  0.0852975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695123': 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) = 11687.8598255
delta logL = 0.0460954730388

Extracting fit parameters...

4FGL J1544.3-0649
   Spectrum: PowerLaw
260    Prefactor:  2.113e+01  3.458e+01  1.000e-04  1.000e+04 ( 1.000e-14)
261        Index:  2.139e+00  9.214e-01  0.000e+00  1.000e+01 (-1.000e+00)
262        Scale:  3.286e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  1.080e+00  8.530e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.014e+00  2.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 236.079 -6.825
Photon Index (Free Index): 2.14 +/- 0.92
Photon Flux (Free Index): 3.25e-08 +/- 5.95e-08
Energy Flux (Free Index): 1.65e-05 +/- 2.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/695123/cmap_HighResolution_491011201_491270401_4FGL_J1544.3-0649_daily_bin971.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.17e-03', comment='SUCCESS', photon_flux='2.02e-08', energy_flux2='1.65e-05', photon_flux_error='2.65e-08', dlogl='4.61e-02', energy_flux='1.99e-05', photon_flux2='3.25e-08', job_status='DONE', time_completed='2021-09-12 12:47:37.851359', photon_index_error2='0.92', photon_index2='2.14', ts='1.07', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='9.67e-08', energy_flux_error2='2.22e-05', EG='1.02', time_epoch_completed='1631476057.85', return_code='0', job_id='695123', GAL2='1.08', EG2='1.01', return_code2='0', energy_flux_error='2.62e-05', photon_flux_error2='5.95e-08', ts2='1.16', photon_index='1.87' WHERE bin_id='971' AND source_name='4FGL J1544.3-0649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 12:47:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0015>
Subject: Job 695123: <4FGL_J1544.3-0649_daily_bin971> in cluster <slac> Done

Job <4FGL_J1544.3-0649_daily_bin971> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 12:35:35 2021
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 12:36:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 12:36:32 2021
Terminated at Sun Sep 12 12:47:38 2021
Results reported at Sun Sep 12 12:47:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1544.3-0649_daily_bin971 236.079 -6.8255 491011201 491270401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1544.3-0649 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   647.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             349.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            723 sec.

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

