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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin600
RA = 313.764, Dec = -52.3099
tmin = 394848001, tmax = 395107201
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='200070', job_status='RUN', time_executed='2021-09-25 20:57:42.735378', time_epoch_executed='1632628662.74' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200070

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200070/ft1_4FGL_J2055.0-5218_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200070/ft1_4FGL_J2055.0-5218_daily_bin600.fits outfile=/scratch/kocevski/200070/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin600.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=394848001.0 tmax=395107201.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 5.28
user 5.02
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.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/200070/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin600.fits evtable="EVENTS" outfile="/scratch/kocevski/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.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.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/200070/ltcube_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.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/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits
.....................!
real 13.84
user 13.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/200070/ltcube_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.fits outfile=/scratch/kocevski/200070/expmap_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.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/200070/ltcube_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.fits
.....................!
real 193.18
user 187.33
sys 5.45

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/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.fits scfile=/scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits outfile=/scratch/kocevski/200070/cmap_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.fits scfile=/scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits outfile=/scratch/kocevski/200070/cmap_HighResolution_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/200070/Model_4FGL_J2055.0-5218_daily_bin600.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/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.fits.....................!
real 53.05
user 51.63
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.fits', '/scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits', expMap='/scratch/kocevski/200070/expmap_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.fits', expCube='/scratch/kocevski/200070/ltcube_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200070/Model_4FGL_J2055.0-5218_daily_bin600.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/200070/ft1_filtered_4FGL_J2055.0-5218_daily_bin600.fits
Spacecraft file(s): /scratch/kocevski/200070/ft2_4FGL_J2055.0-5218_daily_bin600.fits
Exposure map: /scratch/kocevski/200070/expmap_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.fits
Exposure cube: /scratch/kocevski/200070/ltcube_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200070/Model_4FGL_J2055.0-5218_daily_bin600.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) = 6276.84308367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.861       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.229       1.0000         .10000E-03   10000.    
     4 'norm      '    17.156       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .79628E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2571       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13478E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.204       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14389E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17617E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11429E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    2.0735       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .61406       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=   6276.764     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2407 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.852        14.693        .17155E-06    .13382E-04
   2  norm          .10000E-03    .58681        .88854E-08** at limit **
   3  norm          10.226        5.4773       -.89896E-06    .28974E-03
   4  norm          17.158        20.923        .15729E-07    .81900E-05
   5  Prefactor     .10000E-03    13.810       -.19975E-06** at limit **
   6  Prefactor     .10000E-03    42.716        .13899E-05** at limit **
   7  Prefactor     .10000E-03    .60276       -.70566E-08** at limit **
   8  Prefactor     .10002E-03    96.528        .17831E-04** at limit **
   9  norm          1.2573        1.6422       -.12922E-06   -.63059E-05
  10  norm          .10000E-03    .63103       -.13772E-07** at limit **
  11  Prefactor     .10000E-03    28.455       -.13479E-05** at limit **
  12  Prefactor     .10000E-03    52.369       -.46065E-05** at limit **
  13  Prefactor     .10000E-03    15.305        .40355E-06** at limit **
  14  Prefactor     .10000E-03    38.530        .26152E-05** at limit **
  15  Prefactor     30.227        26.216       -.14079E-06    .11530E-04
  16  Prefactor     .10000E-03    3.1644        .11793E-05** at limit **
  17  Prefactor     .10000E-03    138.34        .37584E-05** at limit **
  18  Prefactor     .10001E-03    6.4381       -.27517E-05** at limit **
  19  Prefactor     .10000E-03    4.8494       -.99756E-07** at limit **
  20  Prefactor     .10000E-03    44.246        .69689E-06** at limit **
  21  Normalizat    2.0736        .24994        .54246E-06   -.75414E-05
  22  Prefactor     .61402        .12861        .37157E-06    .73155E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.8518
  norm       = 0.0001
  norm       = 10.2256
  norm       = 17.1585
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  norm       = 1.25727
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 30.227
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 2.0736
  Prefactor  = 0.61402
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.764     FROM HESSE     STATUS=OK           344 CALLS     2751 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.852        14.688        .11632E-03   -1.5019    
   2  norm          .10000E-03    .82065        .11831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.226        5.5134        .62642E-03   -1.5068    
   4  norm          17.158        20.924        .96697E-04   -1.4879    
   5  Prefactor     .10000E-03    13.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    42.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .60395        .60065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    108.34        .65824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2573        1.6062        .11201E-03   -1.5484    
  10  norm          .10000E-03    .63269        .61462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    53.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    39.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     30.227        26.225        .72903E-04   -1.4608    
  16  Prefactor     .10000E-03    16.725        .25229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    140.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    15.814        .34560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.0247        .34059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    44.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    2.0736        .29060        .26503E-03   -.62718    
  22  Prefactor     .61402        .15195        .23426E-03   -1.0700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97379e-10
Minuit parameter uncertainties:
  1  14.6923
  2  1.26008e-06
  3  5.51365
  4  20.9329
  5  2.16206e-05
  6  0.000260075
  7  7.64416e-07
  8  0.00277005
  9  1.60627
  10  6.10283e-07
  11  0.000216333
  12  0.000980712
  13  3.0112e-05
  14  0.000367787
  15  26.2352
  16  0.000199028
  17  0.000765168
  18  0.000795892
  19  1.73932e-05
  20  0.00012646
  21  0.290847
  22  0.152049
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  2.770e-03  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:  6.140e-01  1.520e-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.074e+00  2.908e-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.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/200070/likelihoodResults_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.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) = 6276.76387395
delta logL = -4.28318999184e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6276.76383103
delta logL = 8.62009983393e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11381E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5694       1.0000          .0000       10.000    
     3 'Normalizat'    2.0736       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61402       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=   6276.764     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      251 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    .41273        .10528    ** at limit **
   2  Index         2.6350        8.4993        .50000       -.16780E-05
   3  Normalizat    2.0736        .11000E-02    .59943E-01   -.61571E-03
   4  Prefactor     .61402        .57710E-03    .41245E-01   -.36268E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100029
  Index      = 2.63501
  Normalizat = 2.0736
  Prefactor  = 0.614021
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.764     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      286 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    95.878        .55956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6350        8.1409        .50000       -.49269    
   3  Normalizat    2.0736        .46227E-02    .26503E-03   -.62718    
   4  Prefactor     .61402        .24246E-02    .23426E-03   -1.0700    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31647e-09
Minuit parameter uncertainties:
  1  0.00335463
  2  70.9932
  3  0.00462272
  4  0.00242455
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200070': 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) = 6276.76383095
delta logL = 1.72399268195e-07

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  3.355e-03  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.635e+00  7.099e+01  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:  6.140e-01  2.425e-03  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.074e+00  4.623e-03  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/200070/cmap_HighResolution_394848001_395107201_4FGL_J2055.0-5218_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-25 21:08:53.759016', job_id='200070', GAL2='0.61', fit_tolerance='1e-08', EG2='2.07', EG='2.07', time_epoch_completed='1632629333.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='1.72e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='600' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:08:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 200070: <4FGL_J2055.0-5218_daily_bin600> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin600> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 20:55:25 2021
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 20:57:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 20:57:24 2021
Terminated at Sat Sep 25 21:08:54 2021
Results reported at Sat Sep 25 21:08:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin600 313.764 -52.3099 394848001 395107201 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 :                                   668.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            809 sec.

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

