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


Performing analysis on: 4FGL_J1548.8-2250_monthly_bin77
RA = 237.201, Dec = -22.8471
tmin = 436579201, tmax = 439171201
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='361430', job_status='RUN', time_executed='2021-10-27 17:25:38.964649', time_epoch_executed='1635380738.96' WHERE source_name='4FGL J1548.8-2250' and cadence='monthly' and bin_id='77'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361430

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

Retrieving the FT1 file...

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

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

Retrieving 459 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361430/ft1_4FGL_J1548.8-2250_monthly_bin77.fits


Retrieving the FT1 file...

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

Retrieving 459 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361430/ft1_4FGL_J1548.8-2250_monthly_bin77.fits outfile=/scratch/kocevski/361430/ft1_filteredMKT_4FGL_J1548.8-2250_monthly_bin77.fits ra=237.201 dec=-22.8471 rad=12.0 tmin=436579201.0 tmax=439171201.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 52.64
user 51.35
sys 1.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.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/361430/ft1_filteredMKT_4FGL_J1548.8-2250_monthly_bin77.fits evtable="EVENTS" outfile="/scratch/kocevski/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.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.88
user 0.66
sys 0.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/361430/ltcube_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.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/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits
.....................!
real 113.85
user 113.07
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/361430/ltcube_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.fits outfile=/scratch/kocevski/361430/expmap_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.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/361430/ltcube_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.fits
.....................!
real 195.11
user 188.63
sys 6.08

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 209 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 J1548.8-2250 @ 237.201 -22.8471

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.fits scfile=/scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits outfile=/scratch/kocevski/361430/cmap_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.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.201 yref=-22.8471 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.83
user 0.66
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.fits scfile=/scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits outfile=/scratch/kocevski/361430/cmap_HighResolution_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.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.201 yref=-22.8471 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.84
user 0.68
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/361430/Model_4FGL_J1548.8-2250_monthly_bin77.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/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.fits.....................!
real 3451.42
user 3442.44
sys 2.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.fits', '/scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits', expMap='/scratch/kocevski/361430/expmap_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.fits', expCube='/scratch/kocevski/361430/ltcube_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/361430/Model_4FGL_J1548.8-2250_monthly_bin77.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1548.8-2250'

4FGL J1548.8-2250
   Spectrum: PowerLaw
329    Prefactor:  5.289e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
330        Index:  1.793e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  4.643e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/361430/ft1_filtered_4FGL_J1548.8-2250_monthly_bin77.fits
Spacecraft file(s): /scratch/kocevski/361430/ft2_4FGL_J1548.8-2250_monthly_bin77.fits
Exposure map: /scratch/kocevski/361430/expmap_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.fits
Exposure cube: /scratch/kocevski/361430/ltcube_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/361430/Model_4FGL_J1548.8-2250_monthly_bin77.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) = 321139.852763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74274       1.0000         .10000E-03   10000.    
     2 'norm      '    .96887       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26341       1.0000         .10000E-03   10000.    
     4 'norm      '    .87532       1.0000         .10000E-03   10000.    
     5 'norm      '    .82459       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4821       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.8964       1.0000         .10000E-03   10000.    
     8 'norm      '    .35454       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4698       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.006       1.0000         .10000E-03   10000.    
    11 'norm      '    9.0226       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4330       1.0000         .10000E-03   10000.    
    13 'norm      '    3.0749       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.3363       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0605       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   321139.2     FROM MIGRAD    STATUS=CONVERGED    278 CALLS     1213 TOTAL
                     EDM=   .17E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74287        1.5007         .0000        .48838    
   2  norm          .96887        .14839         .0000        .27875E-01
   3  Prefactor     .26537        .80695         .0000        .71873    
   4  norm          .87518        .47716         .0000        .31077E-01
   5  norm          .82718        .89141         .0000        1.2386    
   6  Prefactor     4.4785        4.7190         .0000        .72184E-03
   7  Prefactor     7.8959        3.4011         .0000       -.36657E-02
   8  norm          .35453        .51699         .0000        .27612E-01
   9  Prefactor     2.4698        .43836         .0000        .17403E-01
  10  Prefactor     15.006        7.9449         .0000        .23110E-03
  11  norm          9.0226        2.5959         .0000       -.23818E-03
  12  norm          1.4343        .73815         .0000        .44523E-01
  13  norm          3.0749        .37117         .0000        .18138E-01
  14  Normalizat    1.3363        .61149E-01     .0000        .97058E-03
  15  Prefactor     1.0605        .12606E-01     .0000       -.37496E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.742865
  norm       = 0.968871
  Prefactor  = 0.265367
  norm       = 0.875176
  norm       = 0.827175
  Prefactor  = 4.47851
  Prefactor  = 7.89592
  norm       = 0.354532
  Prefactor  = 2.46981
  Prefactor  = 15.0061
  norm       = 9.02257
  norm       = 1.43432
  norm       = 3.07489
  Normalizat = 1.3363
  Prefactor  = 1.06046
 **********
 **   18 **HESSE 
 **********

 FCN=   321139.2     FROM HESSE     STATUS=OK           196 CALLS     1409 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74287        1.5086        .24449E-02   -1.5536    
   2  norm          .96887        .14431        .81326E-04   -1.5511    
   3  Prefactor     .26537        .78840        .20527E-02   -1.5605    
   4  norm          .87518        .46058        .26525E-03   -1.5521    
   5  norm          .82718        .87786        .25062E-02   -1.5526    
   6  Prefactor     4.4785        4.7136        .19019E-03   -1.5285    
   7  Prefactor     7.8959        3.3993        .14269E-03   -1.5146    
   8  norm          .35453        .60095        .47951E-02   -1.5589    
   9  Prefactor     2.4698        .43663        .15116E-03   -1.5394    
  10  Prefactor     15.006        7.9428        .10339E-03   -1.4933    
  11  norm          9.0226        2.5965        .13343E-03   -1.5107    
  12  norm          1.4343        .73592        .33409E-03   -1.5468    
  13  norm          3.0749        .37087        .11547E-03   -1.5357    
  14  Normalizat    1.3363        .67206E-01    .59714E-03   -.82489    
  15  Prefactor     1.0605        .14105E-01    .13769E-03   -.90740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29418e-06
Minuit parameter uncertainties:
  1  1.50868
  2  0.144314
  3  0.78843
  4  0.460587
  5  0.877871
  6  4.71404
  7  3.39937
  8  0.600956
  9  0.436633
  10  7.94335
  11  2.59654
  12  0.735926
  13  0.370866
  14  0.0672101
  15  0.0141046
Done.

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

Extracting fit parameters...

4FGL J1548.8-2250
   Spectrum: PowerLaw
329    Prefactor:  7.896e+00  3.399e+00  1.000e-04  1.000e+04 ( 1.000e-14)
330        Index:  1.793e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  4.643e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
713    Prefactor:  1.060e+00  1.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
714        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
715        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
708   Normalization:  1.336e+00  6.721e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.04
Ra Dec: 237.201 -22.847
Photon Index (Fixed Index): 1.79 +/- 0.00
Photon Flux (Fixed Index): 9.65e-09 +/- 4.15e-09
Energy Flux (Fixed Index): 1.18e-05 +/- 5.08e-06

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) = 321138.65172
delta logL = 0.583034988667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 321138.646938
delta logL = 0.587816857558

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   321138.6     FROM MIGRAD    STATUS=FAILED        93 CALLS      309 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3374        37.278        .15945E-03    .21402E-02
   2  Index         2.1672        2.6205        .22558E-01    .24174E-02
   3  Normalizat    1.3256        .11507        .59914E-03   -.12423E-02
   4  Prefactor     1.0609        .13456E-01    .13766E-03   -.70032E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   321138.6     FROM SIMPLEX   STATUS=UNCHANGED     91 CALLS      400 TOTAL
                     EDM=   .91E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3374        37.278        .36097E-04    .21402E-02
   2  Index         2.1672        2.6205        .25703E-03    .24174E-02
   3  Normalizat    1.3256        .11507        .58310E-04   -.12423E-02
   4  Prefactor     1.0609        .13456E-01    .12084E-04   -.70032E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   321138.6     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      432 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3374        3.2660        .63778E-05    .21447E-02
   2  Index         2.1672        .30627        .90234E-03    .29351E-03
   3  Normalizat    1.3256        .66468E-01    .23966E-04   -.12448E-02
   4  Prefactor     1.0609        .13751E-01    .55064E-05   -.70032E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.3374
  Index      = 2.16719
  Normalizat = 1.3256
  Prefactor  = 1.06087
 **********
 **   18 **HESSE 
 **********

 FCN=   321138.6     FROM HESSE     STATUS=OK            23 CALLS      455 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3374        3.1981        .12756E-05   -1.5204    
   2  Index         2.1672        .30011        .36094E-04   -.60233    
   3  Normalizat    1.3256        .66320E-01    .47931E-05   -.82805    
   4  Prefactor     1.0609        .13733E-01    .11013E-05   -.90727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.3974e-10
Minuit parameter uncertainties:
  1  3.19823
  2  0.300378
  3  0.0663247
  4  0.0137331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361430': 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) = 321138.646938
delta logL = 0.587816857675

Extracting fit parameters...

4FGL J1548.8-2250
   Spectrum: PowerLaw
329    Prefactor:  6.337e+00  3.198e+00  1.000e-04  1.000e+04 ( 1.000e-14)
330        Index:  2.167e+00  3.004e-01  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  4.643e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
713    Prefactor:  1.061e+00  1.373e-02  0.000e+00  1.000e+01 ( 1.000e+00)
714        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
715        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
708   Normalization:  1.326e+00  6.632e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.24
Ra Dec: 237.201 -22.847
Photon Index (Free Index): 2.17 +/- 0.30
Photon Flux (Free Index): 2.22e-08 +/- 1.39e-08
Energy Flux (Free Index): 1.06e-05 +/- 3.69e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/361430/cmap_HighResolution_436579201_439171201_4FGL_J1548.8-2250_monthly_bin77.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.65e-09', energy_flux2='1.06e-05', photon_flux_error='4.15e-09', dlogl='5.88e-01', energy_flux='1.18e-05', photon_flux2='2.22e-08', job_status='DONE', time_completed='2021-10-27 21:16:26.873451', photon_index_error2='0.30', photon_index2='2.17', ts='22.04', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='3.69e-06', EG='1.34', time_epoch_completed='1635394586.87', return_code='0', job_id='361430', GAL2='1.06', EG2='1.33', return_code2='0', energy_flux_error='5.08e-06', photon_flux_error2='1.39e-08', ts2='23.24', photon_index='1.79' WHERE bin_id='77' AND source_name='4FGL J1548.8-2250' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Wed Oct 27 21:16:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 361430: <4FGL_J1548.8-2250_monthly_bin77> in cluster <slac> Done

Job <4FGL_J1548.8-2250_monthly_bin77> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Oct 27 17:25:30 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 27 17:25:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 27 17:25:31 2021
Terminated at Wed Oct 27 21:16:28 2021
Results reported at Wed Oct 27 21:16:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.8-2250_monthly_bin77 237.201 -22.8471 436579201 439171201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1548.8-2250 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13641.00 sec.
    Max Memory :                                 877 MB
    Average Memory :                             768.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   1 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13857 sec.
    Turnaround time :                            13858 sec.

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

