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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1636
RA = 313.764, Dec = -52.3099
tmin = 663379201, tmax = 663638401
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='952836', job_status='RUN', time_executed='2022-01-12 01:23:06.965793', time_epoch_executed='1641979386.97' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/952836

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/952836/ft1_4FGL_J2055.0-5218_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/952836/ft2_4FGL_J2055.0-5218_daily_bin1636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/952836/ft1_4FGL_J2055.0-5218_daily_bin1636.fits outfile=/scratch/kocevski/952836/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1636.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=663379201.0 tmax=663638401.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.71
user 2.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/952836/ft2_4FGL_J2055.0-5218_daily_bin1636.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/952836/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1636.fits evtable="EVENTS" outfile="/scratch/kocevski/952836/ft1_filtered_4FGL_J2055.0-5218_daily_bin1636.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/952836/ft1_filtered_4FGL_J2055.0-5218_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/952836/ft2_4FGL_J2055.0-5218_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/952836/ltcube_663379201_663638401_4FGL_J2055.0-5218_daily_bin1636.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/952836/ft2_4FGL_J2055.0-5218_daily_bin1636.fits
.....................!
real 12.95
user 12.56
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/952836/ft1_filtered_4FGL_J2055.0-5218_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952836/ft2_4FGL_J2055.0-5218_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/952836/ltcube_663379201_663638401_4FGL_J2055.0-5218_daily_bin1636.fits outfile=/scratch/kocevski/952836/expmap_663379201_663638401_4FGL_J2055.0-5218_daily_bin1636.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/952836/ltcube_663379201_663638401_4FGL_J2055.0-5218_daily_bin1636.fits
.....................!
real 191.48
user 185.81
sys 5.32

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/952836/ft1_filtered_4FGL_J2055.0-5218_daily_bin1636.fits scfile=/scratch/kocevski/952836/ft2_4FGL_J2055.0-5218_daily_bin1636.fits outfile=/scratch/kocevski/952836/cmap_663379201_663638401_4FGL_J2055.0-5218_daily_bin1636.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/952836/ft1_filtered_4FGL_J2055.0-5218_daily_bin1636.fits scfile=/scratch/kocevski/952836/ft2_4FGL_J2055.0-5218_daily_bin1636.fits outfile=/scratch/kocevski/952836/cmap_HighResolution_663379201_663638401_4FGL_J2055.0-5218_daily_bin1636.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/952836/ft1_filtered_4FGL_J2055.0-5218_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952836/ft2_4FGL_J2055.0-5218_daily_bin1636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/952836/Model_4FGL_J2055.0-5218_daily_bin1636.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/952836/ft1_filtered_4FGL_J2055.0-5218_daily_bin1636.fits.....................!
real 35.32
user 33.95
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    45.855       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .11255       1.0000         .10000E-03   10000.    
     5 'Prefactor '    142.21       1.0000         .10000E-03   10000.    
     6 'Prefactor '    312.89       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1316       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.7942       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10855E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .94826E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2015       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8013       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2527       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84128       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3597.427     FROM MIGRAD    STATUS=CONVERGED    854 CALLS     2777 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          45.834        52.517        .59209E-04    .33601E-05
   2  norm          .10000E-03    1.7646        .77583E-03** at limit **
   3  norm          .10000E-03    2.8122        .98201E-03** at limit **
   4  norm          .10014E-03    150.34        .17540    ** at limit **
   5  Prefactor     142.36        131.23        .16892E-03   -.36377E-04
   6  Prefactor     312.97        204.43        .11488E-03   -.20485E-04
   7  Prefactor     5.1299        5.2039        .12853E-03   -.15965E-04
   8  Prefactor     .10000E-03    53.618        .18142E-02** at limit **
   9  norm          6.7944        3.7706        .41561E-03   -.40689E-04
  10  norm          .10000E-03    1.4719        .70455E-03** at limit **
  11  Prefactor     .10000E-03    27.958        .18142E-02** at limit **
  12  Prefactor     .10000E-03    90.256        .18142E-02** at limit **
  13  Prefactor     .10000E-03    43.625        .39686E-02** at limit **
  14  Prefactor     .10000E-03    14.306        .18142E-02** at limit **
  15  Prefactor     .10000E-03    11.115        .18142E-02** at limit **
  16  Prefactor     5.2035        5.5463        .13912E-03   -.11444E-03
  17  Prefactor     5.7673        89.913        .16675E-03   -.82156E-05
  18  Prefactor     .10000E-03    4.8056        .12823E-02** at limit **
  19  Prefactor     .10000E-03    6.8180        .22210E-02** at limit **
  20  Prefactor     .10000E-03    53.895        .18142E-02** at limit **
  21  Normalizat    1.2532        .35389        .29507E-03   -.18780E-03
  22  Prefactor     .84108        .19686        .20087E-03   -.21489E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 45.8339
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100139
  Prefactor  = 142.362
  Prefactor  = 312.969
  Prefactor  = 5.12994
  Prefactor  = 0.0001
  norm       = 6.79442
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.20346
  Prefactor  = 5.76727
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.25319
  Prefactor  = 0.841083
 **********
 **   18 **HESSE 
 **********

 FCN=   3597.427     FROM HESSE     STATUS=OK           332 CALLS     3109 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          45.834        52.491        .23684E-05   -1.4353    
   2  norm          .10000E-03    1.7647        .15517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.8122        .19640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10014E-03    156.07        .17163       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     142.36        131.67        .67568E-05   -1.3316    
   6  Prefactor     312.97        204.45        .22976E-04   -1.2151    
   7  Prefactor     5.1299        5.2035        .51412E-05   -1.5255    
   8  Prefactor     .10000E-03    53.651        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.7944        3.7705        .16625E-04   -1.5187    
  10  norm          .10000E-03    1.4720        .14091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    27.958        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    90.258        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    44.040        .79371E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.307        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.116        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2035        5.5459        .55649E-05   -1.5252    
  17  Prefactor     5.7673        89.917        .66699E-05   -1.5228    
  18  Prefactor     .10000E-03    4.8059        .25646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.8374        .44420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    53.895        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2532        .35409        .59014E-04   -.84975    
  22  Prefactor     .84108        .19702        .40174E-04   -.98231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41565e-10
Minuit parameter uncertainties:
  1  52.5436
  2  1.53935e-07
  3  7.01414e-07
  4  0.00935532
  5  131.939
  6  204.923
  7  5.20398
  8  0.000165233
  9  3.77064
  10  1.7929e-06
  11  5.9917e-06
  12  1.77423e-05
  13  8.11867e-05
  14  2.67495e-06
  15  4.07899e-06
  16  5.54649
  17  45.626
  18  8.3743e-06
  19  0.000247456
  20  9.18836e-06
  21  0.354771
  22  0.197187
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  1.652e-04  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:  8.411e-01  1.972e-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:  1.253e+00  3.548e-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.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/952836/likelihoodResults_663379201_663638401_4FGL_J2055.0-5218_daily_bin1636.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) = 3597.42756385
delta logL = -8.87804508238e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3597.42747455
delta logL = 5.13696249982e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10617E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9330       1.0000          .0000       10.000    
     3 'Normalizat'    1.2532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84108       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=   3597.427     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      258 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    .14598        .90712E-01** at limit **
   2  Index         2.9984        7.1808        .50000       -.48171E-05
   3  Normalizat    1.2532        .90204E-03    .66699E-01    .75370E-05
   4  Prefactor     .84108        .51684E-03    .44250E-01    .73441E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  Index      = 2.99837
  Normalizat = 1.25319
  Prefactor  = 0.841083
 **********
 **   18 **HESSE 
 **********

 FCN=   3597.427     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      295 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    175.12        .36835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9984        8.4714        .50000       -.41187    
   3  Normalizat    1.2532        .80683E-02    .29507E-03   -.84975    
   4  Prefactor     .84108        .46259E-02    .20087E-03   -.98231    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.95339e-08
Minuit parameter uncertainties:
  1  0.00288542
  2  220.522
  3  0.00806831
  4  0.00462595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/952836': 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) = 3597.42747446
delta logL = 6.08258233115e-07

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  2.885e-03  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.998e+00  2.205e+02  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:  8.411e-01  4.626e-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:  1.253e+00  8.068e-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/952836/cmap_HighResolution_663379201_663638401_4FGL_J2055.0-5218_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', job_status='DONE', photon_flux_upper_limit='1.40e-07', time_completed='2022-01-12 01:31:38.213698', job_id='952836', GAL2='0.84', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1641979898.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='6.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1636' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:31:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 952836: <4FGL_J2055.0-5218_daily_bin1636> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1636> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan 12 01:20:21 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:22:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:22:26 2022
Terminated at Wed Jan 12 01:31:38 2022
Results reported at Wed Jan 12 01:31:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1636 313.764 -52.3099 663379201 663638401 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 :                                   512.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             331.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   552 sec.
    Turnaround time :                            677 sec.

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

