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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1596
RA = 313.764, Dec = -52.3099
tmin = 653011201, tmax = 653270401
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='208165', job_status='RUN', time_executed='2021-09-25 21:26:22.861462', time_epoch_executed='1632630382.86' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1596'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208165

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208165/ft1_4FGL_J2055.0-5218_daily_bin1596.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208165/ft1_4FGL_J2055.0-5218_daily_bin1596.fits outfile=/scratch/kocevski/208165/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1596.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=653011201.0 tmax=653270401.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.11
user 2.89
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.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/208165/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1596.fits evtable="EVENTS" outfile="/scratch/kocevski/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.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.53
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.fits" evtable="EVENTS" scfile=/scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits sctable="SC_DATA" outfile=/scratch/kocevski/208165/ltcube_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.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/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits
.....................!
real 17.16
user 16.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.fits evtable="EVENTS" scfile=/scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits sctable="SC_DATA" expcube=/scratch/kocevski/208165/ltcube_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.fits outfile=/scratch/kocevski/208165/expmap_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.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/208165/ltcube_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.fits
.....................!
real 191.67
user 186.29
sys 4.98

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

Setting source of interest to:
4FGL J2055.0-5218 @ 313.764 -52.3099

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.fits scfile=/scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits outfile=/scratch/kocevski/208165/cmap_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.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=313.764 yref=-52.3099 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.fits scfile=/scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits outfile=/scratch/kocevski/208165/cmap_HighResolution_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.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=313.764 yref=-52.3099 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.fits evtable="EVENTS" scfile=/scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208165/Model_4FGL_J2055.0-5218_daily_bin1596.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/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.fits.....................!
real 45.01
user 43.28
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.fits', '/scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits', expMap='/scratch/kocevski/208165/expmap_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.fits', expCube='/scratch/kocevski/208165/ltcube_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/208165/Model_4FGL_J2055.0-5218_daily_bin1596.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2055.0-5218'

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.666e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.460e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/208165/ft1_filtered_4FGL_J2055.0-5218_daily_bin1596.fits
Spacecraft file(s): /scratch/kocevski/208165/ft2_4FGL_J2055.0-5218_daily_bin1596.fits
Exposure map: /scratch/kocevski/208165/expmap_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.fits
Exposure cube: /scratch/kocevski/208165/ltcube_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/208165/Model_4FGL_J2055.0-5218_daily_bin1596.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) = 4848.64608102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6359       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.8384       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.5698       1.0000         .10000E-03   10000.    
    10 'norm      '    .10285E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    231.25       1.0000         .10000E-03   10000.    
    12 'Prefactor '    97.106       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .80085E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .49225E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.961       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .54301E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    2.4284       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .44915       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4848.641     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2379 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6357        18.787       -.40321E-06   -.31163E-04
   2  norm          .10000E-03    .83790        .27523E-06** at limit **
   3  norm          2.8385        3.1321        .57863E-07    .94284E-05
   4  norm          .10000E-03    10.776        .68043E-07** at limit **
   5  Prefactor     .10000E-03    17.974        .40089E-06** at limit **
   6  Prefactor     .10000E-03    42.362        .18781E-05** at limit **
   7  Prefactor     .10001E-03    2.8751       -.64576E-06** at limit **
   8  Prefactor     .10000E-03    17.026        .11288E-05** at limit **
   9  norm          5.5695        3.3179       -.94912E-07   -.85223E-04
  10  norm          .10000E-03    2.8473       -.39108E-05** at limit **
  11  Prefactor     231.21        127.72       -.48170E-07   -.25267E-04
  12  Prefactor     97.202        127.17       -.18498E-05    .78217E-05
  13  Prefactor     .10005E-03    152.92       -.45599E-04** at limit **
  14  Prefactor     .10000E-03    36.076       -.11550E-05** at limit **
  15  Prefactor     .10000E-03    58.123        .49783E-05** at limit **
  16  Prefactor     .10000E-03    2.8157        .32843E-06** at limit **
  17  Prefactor     .10001E-03    102.51       -.41459E-05** at limit **
  18  Prefactor     .10000E-03    177.07        .25022E-06** at limit **
  19  Prefactor     20.902        17.878        .46240E-06    .53273E-04
  20  Prefactor     .10009E-03    784.84        .15453E-04** at limit **
  21  Normalizat    2.4283        .31659       -.28642E-06   -.50081E-03
  22  Prefactor     .44917        .14553       -.99491E-06    .28137E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.63569
  norm       = 0.0001
  norm       = 2.83848
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 5.56954
  norm       = 0.000100001
  Prefactor  = 231.214
  Prefactor  = 97.2025
  Prefactor  = 0.000100051
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.000100001
  Prefactor  = 20.9015
  Prefactor  = 0.000100094
  Normalizat = 2.42834
  Prefactor  = 0.449174
 **********
 **   18 **HESSE 
 **********

 FCN=   4848.641     FROM HESSE     STATUS=OK           344 CALLS     2723 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6357        18.763        .14512E-03   -1.5155    
   2  norm          .10000E-03    .85879        .62273E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.8385        3.1281        .12518E-03   -1.5371    
   4  norm          .10000E-03    10.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    42.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    5.5305        .22340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.5695        3.3242        .93553E-04   -1.5236    
  10  norm          .10000E-03    2.9146        .22753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     231.21        128.07        .13307E-03   -1.2655    
  12  Prefactor     97.202        127.10        .20395E-03   -1.3733    
  13  Prefactor     .10005E-03    13.080        .78923E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    58.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.8188        .11413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    102.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    180.07        .21165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.902        17.915        .87486E-04   -1.4793    
  20  Prefactor     .10009E-03    789.57        .21116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    2.4283        .36152        .27094E-03   -.54200    
  22  Prefactor     .44917        .16382        .26374E-03   -1.1437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80509e-09
Minuit parameter uncertainties:
  1  18.777
  2  9.91698e-06
  3  3.12829
  4  9.02649e-06
  5  5.77064e-05
  6  0.000473261
  7  0.000391653
  8  9.57648e-05
  9  3.32432
  10  8.21986e-05
  11  128.223
  12  127.455
  13  0.00162651
  14  0.000280997
  15  0.0009335
  16  1.15742e-05
  17  0.00171353
  18  0.000613328
  19  17.92
  20  0.0174225
  21  0.361954
  22  0.16399
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  9.576e-05  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.460e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  4.492e-01  1.640e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  2.428e+00  3.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 313.764 -52.310
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/208165/likelihoodResults_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.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) = 4848.64090324
delta logL = -0.000278650803011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4848.64062458
delta logL = 6.3073457568e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4848.641     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2150.2        .90712E-02** at limit **
   2  Index         2.3542        7.3044        .50000        .18458E-05
   3  Normalizat    2.4284        .10852        .61286E-01    .12152E-04
   4  Prefactor     .44917        .51083E-01    .59606E-01    .59346E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3542
  Normalizat = 2.42835
  Prefactor  = 0.449168
 **********
 **   18 **HESSE 
 **********

 FCN=   4848.641     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3542        5.6192        .50000       -.55761    
   3  Normalizat    2.4284        .34301        .27094E-03   -.54199    
   4  Prefactor     .44917        .16136        .26374E-03   -1.1437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61092e-12
Minuit parameter uncertainties:
  1  9.44036e-05
  2  7.1884
  3  0.343381
  4  0.161523
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208165': 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) = 4848.64062453
delta logL = 5.60057742405e-08

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  9.440e-05  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.354e+00  7.188e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  4.492e-01  1.615e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  2.428e+00  3.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 313.764 -52.310

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/208165/cmap_HighResolution_653011201_653270401_4FGL_J2055.0-5218_daily_bin1596.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-09-25 21:36:08.900337', job_id='208165', GAL2='0.45', fit_tolerance='1e-08', EG2='2.43', EG='2.43', time_epoch_completed='1632630968.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.45', dlogl='5.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1596' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:36:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 208165: <4FGL_J2055.0-5218_daily_bin1596> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1596> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 25 21:25:25 2021
Job was executed on host(s) <bullet0131>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:25:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 21:25:58 2021
Terminated at Sat Sep 25 21:36:09 2021
Results reported at Sat Sep 25 21:36:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1596 313.764 -52.3099 653011201 653270401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2055.0-5218 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   578.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            644 sec.

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

