/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 128 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 = 7399
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1543.6+0452_daily_bin155
RA = 235.906, Dec = 4.8689
tmin = 279504001, tmax = 279763201
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='682628', job_status='RUN', time_executed='2021-09-12 11:58:36.118666', time_epoch_executed='1631473116.12' WHERE source_name='4FGL J1543.6+0452' and cadence='daily' and bin_id='155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/682628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/682628/ft1_4FGL_J1543.6+0452_daily_bin155.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/682628/ft1_4FGL_J1543.6+0452_daily_bin155.fits outfile=/scratch/kocevski/682628/ft1_filteredMKT_4FGL_J1543.6+0452_daily_bin155.fits ra=235.906 dec=4.8689 rad=12.0 tmin=279504001.0 tmax=279763201.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.60
user 3.37
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.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/682628/ft1_filteredMKT_4FGL_J1543.6+0452_daily_bin155.fits evtable="EVENTS" outfile="/scratch/kocevski/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits" evtable="EVENTS" scfile=/scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits sctable="SC_DATA" outfile=/scratch/kocevski/682628/ltcube_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.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/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits
.....................!
real 12.36
user 11.99
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits sctable="SC_DATA" expcube=/scratch/kocevski/682628/ltcube_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.fits outfile=/scratch/kocevski/682628/expmap_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.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/682628/ltcube_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.fits
.....................!
real 191.09
user 186.04
sys 4.62

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 J1543.6+0452 @ 235.906 4.8689

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits scfile=/scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits outfile=/scratch/kocevski/682628/cmap_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.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=235.906 yref=4.8689 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits scfile=/scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits outfile=/scratch/kocevski/682628/cmap_HighResolution_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.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=235.906 yref=4.8689 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/682628/Model_4FGL_J1543.6+0452_daily_bin155.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/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits.....................!
real 80.89
user 78.67
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits', '/scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits', expMap='/scratch/kocevski/682628/expmap_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.fits', expCube='/scratch/kocevski/682628/ltcube_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/682628/Model_4FGL_J1543.6+0452_daily_bin155.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.6+0452'

4FGL J1543.6+0452
   Spectrum: PowerLaw
216    Prefactor:  3.372e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  1.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  3.797e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/682628/ft1_filtered_4FGL_J1543.6+0452_daily_bin155.fits
Spacecraft file(s): /scratch/kocevski/682628/ft2_4FGL_J1543.6+0452_daily_bin155.fits
Exposure map: /scratch/kocevski/682628/expmap_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.fits
Exposure cube: /scratch/kocevski/682628/ltcube_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/682628/Model_4FGL_J1543.6+0452_daily_bin155.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) = 10104.7948513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2561       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6079       1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.3404       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10662E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.916       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .75719       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .38603E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    15.061       1.0000         .10000E-03   10000.    
    15 'norm      '    1.5440       1.0000         .10000E-03   10000.    
    16 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    73.704       1.0000         .10000E-03   10000.    
    18 'Prefactor '    100.89       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.7667       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10104.76     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     2049 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2561        .30457       -.37056E-08   -.20165E-03
   2  norm          1.6078        1.9489        .30888E-06    .26289E-04
   3  norm          .10000E-03    3.9053        .11113E-06** at limit **
   4  norm          7.3387        4.2764        .20226E-07   -.22441E-04
   5  Prefactor     .10000E-03    98.269        .20862E-05** at limit **
   6  Prefactor     .10000E-03    13.003        .17747E-06** at limit **
   7  Prefactor     11.914        6.5132        .38976E-07   -.87487E-05
   8  Prefactor     .10000E-03    18.356        .30079E-06** at limit **
   9  Prefactor     .10000E-03    20.511        .20096E-06** at limit **
  10  norm          .75811        2.6639        .23963E-05    .47187E-04
  11  Prefactor     .10000E-03    1.3660        .19610E-06** at limit **
  12  norm          .10002E-03    1.6109       -.17010E-06** at limit **
  13  Prefactor     .10000E-03    56.775        .39782E-06** at limit **
  14  norm          15.054        12.796       -.98246E-06   -.16962E-03
  15  norm          1.5441        1.5942        .13082E-06    .13658E-05
  16  norm          .10000E-03    11.350        .32167E-06** at limit **
  17  norm          73.724        74.377       -.30883E-07    .22380E-05
  18  Prefactor     100.57        101.75       -.54710E-06   -.25212E-04
  19  Normalizat    1.7664        .25093       -.10631E-05   -.48477E-04
  20  Prefactor     .93082        .93588E-01    .13787E-06   -.15624E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.25611
  norm       = 1.60783
  norm       = 0.0001
  norm       = 7.33865
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9138
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.758113
  Prefactor  = 0.0001
  norm       = 0.000100023
  Prefactor  = 0.0001
  norm       = 15.0537
  norm       = 1.54408
  norm       = 0.0001
  norm       = 73.7244
  Prefactor  = 100.57
  Normalizat = 1.76643
  Prefactor  = 0.930818
 **********
 **   18 **HESSE 
 **********

 FCN=   10104.76     FROM HESSE     STATUS=OK           295 CALLS     2344 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2561        .30536        .26209E-04   -1.5484    
   2  norm          1.6078        1.9290        .14780E-03   -1.5454    
   3  norm          .10000E-03    3.9198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.3387        4.2701        .14804E-03   -1.5166    
   5  Prefactor     .10000E-03    99.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.914        6.5278        .11605E-03   -1.5018    
   8  Prefactor     .10000E-03    18.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .75811        2.6664        .28912E-03   -1.5534    
  11  Prefactor     .10000E-03    1.3777        .11471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10002E-03    20.479        .24582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    56.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.054        12.915        .10320E-03   -1.4932    
  15  norm          1.5441        1.5771        .12243E-03   -1.5459    
  16  norm          .10000E-03    11.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          73.724        74.384        .23383E-03   -1.3989    
  18  Prefactor     100.57        101.97        .20013E-03   -1.3699    
  19  Normalizat    1.7664        .29077        .38047E-03   -.70543    
  20  Prefactor     .93082        .10860        .19515E-03   -.95072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11969e-09
Minuit parameter uncertainties:
  1  0.305362
  2  1.92905
  3  9.903e-07
  4  4.27024
  5  6.77999e-05
  6  2.69022e-06
  7  6.52816
  8  6.94394e-06
  9  5.97472e-06
  10  2.66683
  11  1.22247e-06
  12  0.00137966
  13  1.79153e-05
  14  12.9176
  15  1.57713
  16  1.29523e-05
  17  74.4782
  18  102.146
  19  0.291054
  20  0.108628
Done.

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

Extracting fit parameters...

4FGL J1543.6+0452
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  6.944e-06  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  1.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  3.797e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  9.308e-01  1.086e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.766e+00  2.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 235.906 4.869
Photon Flux Upper Limit: 6.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/682628/likelihoodResults_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.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) = 10104.7609464
delta logL = -0.000258822194155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10104.7606876
delta logL = -8.67839844432e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8603       1.0000          .0000       10.000    
     3 'Normalizat'    1.7664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10104.76     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      211 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8345        .90712E-02** at limit **
   2  Index         1.8467        8.7945        .50000        .53283E-05
   3  Normalizat    1.7664        .36855E-02    .85952E-01    .17280E-04
   4  Prefactor     .93082        .14443E-02    .45397E-01    .22706E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.84669
  Normalizat = 1.76643
  Prefactor  = 0.930818
 **********
 **   18 **HESSE 
 **********

 FCN=   10104.76     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    114.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8467        6.0806        .50000       -.68241    
   3  Normalizat    1.7664        .16389E-01    .38047E-03   -.70543    
   4  Prefactor     .93082        .64301E-02    .19515E-03   -.95072    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42996e-07
Minuit parameter uncertainties:
  1  8.07855e-05
  2  276.954
  3  0.0163893
  4  0.00643015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/682628': 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) = 10104.7606875
delta logL = 4.13747329731e-08

Extracting fit parameters...

4FGL J1543.6+0452
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  8.079e-05  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  1.847e+00  2.770e+02  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  3.797e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  9.308e-01  6.430e-03  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.766e+00  1.639e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 235.906 4.869

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/682628/cmap_HighResolution_279504001_279763201_4FGL_J1543.6+0452_daily_bin155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='6.06e-08', time_completed='2021-09-12 12:10:31.886526', job_id='682628', GAL2='0.93', fit_tolerance='1e-08', EG2='1.77', EG='1.77', time_epoch_completed='1631473831.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.87' WHERE bin_id='155' AND source_name='4FGL J1543.6+0452' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 12:10:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 682628: <4FGL_J1543.6+0452_daily_bin155> in cluster <slac> Done

Job <4FGL_J1543.6+0452_daily_bin155> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 11:55:23 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 11:56:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 11:56:19 2021
Terminated at Sun Sep 12 12:10:32 2021
Results reported at Sun Sep 12 12:10:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.6+0452_daily_bin155 235.906 4.8689 279504001 279763201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1543.6+0452 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   706.29 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             319.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            909 sec.

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

