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


Performing analysis on: 4FGL_J1549.5+0236_daily_bin856
RA = 237.385, Dec = 2.6084
tmin = 461203201, tmax = 461462401
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='738528', job_status='RUN', time_executed='2021-09-12 15:03:10.635993', time_epoch_executed='1631484190.64' WHERE source_name='4FGL J1549.5+0236' and cadence='daily' and bin_id='856'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/738528

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/738528/ft1_4FGL_J1549.5+0236_daily_bin856.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/738528/ft2_4FGL_J1549.5+0236_daily_bin856.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/738528/ft1_4FGL_J1549.5+0236_daily_bin856.fits outfile=/scratch/kocevski/738528/ft1_filteredMKT_4FGL_J1549.5+0236_daily_bin856.fits ra=237.385 dec=2.6084 rad=12.0 tmin=461203201.0 tmax=461462401.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.46
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/738528/ft1_filtered_4FGL_J1549.5+0236_daily_bin856.fits" evtable="EVENTS" scfile=/scratch/kocevski/738528/ft2_4FGL_J1549.5+0236_daily_bin856.fits sctable="SC_DATA" outfile=/scratch/kocevski/738528/ltcube_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.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/738528/ft2_4FGL_J1549.5+0236_daily_bin856.fits
.....................!
real 14.43
user 14.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/738528/ft1_filtered_4FGL_J1549.5+0236_daily_bin856.fits evtable="EVENTS" scfile=/scratch/kocevski/738528/ft2_4FGL_J1549.5+0236_daily_bin856.fits sctable="SC_DATA" expcube=/scratch/kocevski/738528/ltcube_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.fits outfile=/scratch/kocevski/738528/expmap_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.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/738528/ltcube_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.fits
.....................!
real 191.59
user 186.36
sys 4.71

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/738528/ft1_filtered_4FGL_J1549.5+0236_daily_bin856.fits scfile=/scratch/kocevski/738528/ft2_4FGL_J1549.5+0236_daily_bin856.fits outfile=/scratch/kocevski/738528/cmap_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/738528/ft1_filtered_4FGL_J1549.5+0236_daily_bin856.fits scfile=/scratch/kocevski/738528/ft2_4FGL_J1549.5+0236_daily_bin856.fits outfile=/scratch/kocevski/738528/cmap_HighResolution_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/738528/ft1_filtered_4FGL_J1549.5+0236_daily_bin856.fits', '/scratch/kocevski/738528/ft2_4FGL_J1549.5+0236_daily_bin856.fits', expMap='/scratch/kocevski/738528/expmap_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.fits', expCube='/scratch/kocevski/738528/ltcube_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/738528/Model_4FGL_J1549.5+0236_daily_bin856.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/738528/ft1_filtered_4FGL_J1549.5+0236_daily_bin856.fits
Spacecraft file(s): /scratch/kocevski/738528/ft2_4FGL_J1549.5+0236_daily_bin856.fits
Exposure map: /scratch/kocevski/738528/expmap_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.fits
Exposure cube: /scratch/kocevski/738528/ltcube_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/738528/Model_4FGL_J1549.5+0236_daily_bin856.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) = 8861.04410075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0183       1.0000         .10000E-03   10000.    
     2 'norm      '    6.3133       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.421       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8479       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.346       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.819       1.0000         .10000E-03   10000.    
    10 'norm      '    11.239       1.0000         .10000E-03   10000.    
    11 'norm      '    2.6461       1.0000         .10000E-03   10000.    
    12 'norm      '    .10157E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1551       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98504       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.

 FCN=   8861.040     FROM MIGRAD    STATUS=CONVERGED    333 CALLS     1619 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0172        2.4472        .46989E-06   -.29069E-03
   2  norm          6.3135        4.5542        .13176E-05   -.48899E-04
   3  Prefactor     36.352        48.780       -.76350E-04    .19258E-04
   4  Prefactor     4.8475        3.7393        .42706E-07    .73518E-04
   5  Prefactor     19.345        24.740        .41694E-06    .19675E-04
   6  Prefactor     .10000E-03    16.711        .74951E-06** at limit **
   7  Prefactor     .10000E-03    1.2895       -.29637E-07** at limit **
   8  norm          .10000E-03    .92862        .15861E-06** at limit **
   9  Prefactor     19.755        66.867       -.11653E-03    .16207E-04
  10  norm          11.238        9.4924       -.19541E-07    .57843E-04
  11  norm          2.6464        1.5889        .70927E-06    .52217E-03
  12  norm          .10000E-03    15.753       -.15191E-05** at limit **
  13  norm          .10000E-03    73.603        .27061E-04** at limit **
  14  Prefactor     .10000E-03    55.901       -.14375E-04** at limit **
  15  Prefactor     .10000E-03    5.2607       -.10315E-06** at limit **
  16  Normalizat    1.1553        .24698        .16406E-04   -.21581E-03
  17  Prefactor     .98498        .86538E-01   -.79715E-06    .77099E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01722
  norm       = 6.31347
  Prefactor  = 36.3522
  Prefactor  = 4.84754
  Prefactor  = 19.3451
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.7549
  norm       = 11.2385
  norm       = 2.64639
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15531
  Prefactor  = 0.984978
 **********
 **   18 **HESSE 
 **********

 FCN=   8861.040     FROM HESSE     STATUS=OK           223 CALLS     1842 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0172        2.4318        .15363E-03   -1.5424    
   2  norm          6.3135        4.5429        .15975E-03   -1.5205    
   3  Prefactor     36.352        48.764        .66407E-04   -1.4501    
   4  Prefactor     4.8475        3.7413        .15402E-03   -1.5268    
   5  Prefactor     19.345        24.739        .91062E-04   -1.4828    
   6  Prefactor     .10000E-03    16.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.2953        .10435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .93061        .88574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.755        66.945        .89969E-04   -1.4819    
  10  norm          11.238        9.5095        .11950E-03   -1.5037    
  11  norm          2.6464        1.5890        .88290E-04   -1.5383    
  12  norm          .10000E-03    15.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    73.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    55.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.2809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1553        .28465        .41648E-03   -.87995    
  17  Prefactor     .98498        .10050        .16339E-03   -.93232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00637e-09
Minuit parameter uncertainties:
  1  2.43194
  2  4.54317
  3  48.818
  4  3.74151
  5  24.7521
  6  4.12366e-05
  7  7.80243e-06
  8  9.47277e-06
  9  67.2013
  10  9.51077
  11  1.58905
  12  1.94936e-05
  13  7.70254e-05
  14  0.000232988
  15  3.79153e-05
  16  0.285027
  17  0.100516
Done.

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

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.000e-04  7.802e-06  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:  9.850e-01  1.005e-01  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:  1.155e+00  2.850e-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: 7.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/738528/likelihoodResults_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.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) = 8861.0436783
delta logL = -0.0036723250123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8861.04000598
delta logL = 1.7462298274e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4159       1.0000          .0000       10.000    
     3 'Normalizat'    1.1553       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98497       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.

 FCN=   8861.040     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    183.43        .90712E-02** at limit **
   2  Index         2.4173        6.4256        .50000       -.10092E-04
   3  Normalizat    1.1553        .97170E-01    .94012E-01   -.19633E-05
   4  Prefactor     .98497        .35438E-01    .46079E-01   -.42627E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.41733
  Normalizat = 1.15532
  Prefactor  = 0.984974
 **********
 **   18 **HESSE 
 **********

 FCN=   8861.040     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2349        .10436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4173        6.1073        .50000       -.54280    
   3  Normalizat    1.1553        .26958        .41647E-03   -.87995    
   4  Prefactor     .98497        .99443E-01    .16339E-03   -.93232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81002e-10
Minuit parameter uncertainties:
  1  5.12384e-07
  2  5.62467
  3  0.269908
  4  0.0994614
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/738528': 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) = 8861.04000597
delta logL = 7.42511474527e-09

Extracting fit parameters...

4FGL J1549.5+0236
   Spectrum: PowerLaw
237    Prefactor:  1.000e-04  5.124e-07  1.000e-04  1.000e+04 ( 1.000e-12)
238        Index:  2.417e+00  5.625e+00  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:  9.850e-01  9.946e-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:  1.155e+00  2.699e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/738528/cmap_HighResolution_461203201_461462401_4FGL_J1549.5+0236_daily_bin856.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.97e-03', job_status='DONE', photon_flux_upper_limit='7.71e-08', time_completed='2021-09-12 15:13:12.110085', job_id='738528', GAL2='0.98', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1631484792.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='7.43e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='856' AND source_name='4FGL J1549.5+0236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:13:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 738528: <4FGL_J1549.5+0236_daily_bin856> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.5+0236_daily_bin856 237.385 2.6084 461203201 461462401 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 :                                   601.08 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             322.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            775 sec.

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

