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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1601
RA = 313.764, Dec = -52.3099
tmin = 654307201, tmax = 654566401
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='546391', job_status='RUN', time_executed='2021-09-29 00:27:25.331997', time_epoch_executed='1632900445.33' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/546391

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/546391/ft1_4FGL_J2055.0-5218_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/546391/ft2_4FGL_J2055.0-5218_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/546391/ft1_4FGL_J2055.0-5218_daily_bin1601.fits outfile=/scratch/kocevski/546391/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1601.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=654307201.0 tmax=654566401.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 4.26
user 3.98
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/546391/ft2_4FGL_J2055.0-5218_daily_bin1601.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/546391/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1601.fits evtable="EVENTS" outfile="/scratch/kocevski/546391/ft1_filtered_4FGL_J2055.0-5218_daily_bin1601.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/546391/ft1_filtered_4FGL_J2055.0-5218_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/546391/ft2_4FGL_J2055.0-5218_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/546391/ltcube_654307201_654566401_4FGL_J2055.0-5218_daily_bin1601.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/546391/ft2_4FGL_J2055.0-5218_daily_bin1601.fits
.....................!
real 11.59
user 11.22
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/546391/ft1_filtered_4FGL_J2055.0-5218_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/546391/ft2_4FGL_J2055.0-5218_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/546391/ltcube_654307201_654566401_4FGL_J2055.0-5218_daily_bin1601.fits outfile=/scratch/kocevski/546391/expmap_654307201_654566401_4FGL_J2055.0-5218_daily_bin1601.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/546391/ltcube_654307201_654566401_4FGL_J2055.0-5218_daily_bin1601.fits
.....................!
real 192.19
user 186.46
sys 5.36

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/546391/ft1_filtered_4FGL_J2055.0-5218_daily_bin1601.fits scfile=/scratch/kocevski/546391/ft2_4FGL_J2055.0-5218_daily_bin1601.fits outfile=/scratch/kocevski/546391/cmap_654307201_654566401_4FGL_J2055.0-5218_daily_bin1601.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.71
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/546391/ft1_filtered_4FGL_J2055.0-5218_daily_bin1601.fits scfile=/scratch/kocevski/546391/ft2_4FGL_J2055.0-5218_daily_bin1601.fits outfile=/scratch/kocevski/546391/cmap_HighResolution_654307201_654566401_4FGL_J2055.0-5218_daily_bin1601.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/546391/ft1_filtered_4FGL_J2055.0-5218_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/546391/ft2_4FGL_J2055.0-5218_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/546391/Model_4FGL_J2055.0-5218_daily_bin1601.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/546391/ft1_filtered_4FGL_J2055.0-5218_daily_bin1601.fits.....................!
real 67.91
user 65.92
sys 1.63

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0823       1.0000         .10000E-03   10000.    
     3 'norm      '    .89123E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10179E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .46257       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8983       1.0000         .10000E-03   10000.    
    10 'norm      '    .10204E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1926       1.0000         .10000E-03   10000.    
    12 'Prefactor '    166.58       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7860       1.0000         .10000E-03   10000.    
    17 'Prefactor '    88.522       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10394E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    77.735       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1240       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97569       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=   9185.157     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2432 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.2163       -.72591E-06** at limit **
   2  norm          1.0822        1.0059       -.35079E-07   -.25277E-03
   3  norm          .10007E-03    1.0722        .34929E-06** at limit **
   4  norm          .10000E-03    32.840        .38716E-04** at limit **
   5  Prefactor     .10000E-03    6.1950       -.39434E-06** at limit **
   6  Prefactor     .10000E-03    26.035       -.19839E-04** at limit **
   7  Prefactor     .46453        1.7155       -.42748E-06   -.72239E-03
   8  Prefactor     .10000E-03    6.3010       -.21855E-05** at limit **
   9  norm          2.8984        1.5825       -.10631E-06   -.24716E-03
  10  norm          .10000E-03    1.0911        .61905E-07** at limit **
  11  Prefactor     7.1754        30.011       -.30636E-04    .17312E-04
  12  Prefactor     166.56        100.26       -.14584E-04    .16429E-04
  13  Prefactor     .10000E-03    2.2053        .40413E-07** at limit **
  14  Prefactor     .10000E-03    5.9830        .35894E-05** at limit **
  15  Prefactor     .10000E-03    50.806       -.20412E-04** at limit **
  16  Prefactor     3.7858        3.4269        .74662E-06   -.36837E-03
  17  Prefactor     88.523        42.221        .66373E-06    .19325E-04
  18  Prefactor     .10000E-03    2.6320       -.21395E-06** at limit **
  19  Prefactor     .10000E-03    5.2127       -.95027E-06** at limit **
  20  Prefactor     77.762        85.777        .28720E-04    .13113E-04
  21  Normalizat    1.1240        .18714        .11631E-05    .15705E-03
  22  Prefactor     .97568        .10037        .33578E-06    .98662E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.08221
  norm       = 0.000100068
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.464529
  Prefactor  = 0.0001
  norm       = 2.89836
  norm       = 0.0001
  Prefactor  = 7.17545
  Prefactor  = 166.56
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.78579
  Prefactor  = 88.5229
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 77.7625
  Normalizat = 1.12399
  Prefactor  = 0.975682
 **********
 **   18 **HESSE 
 **********

 FCN=   9185.157     FROM HESSE     STATUS=OK           342 CALLS     2774 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.2393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0822        .99963        .90009E-04   -1.5500    
   3  norm          .10007E-03    12.407        .19226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    33.232        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .46453        2.9367        .22438E-02   -1.5572    
   8  Prefactor     .10000E-03    6.3129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8984        1.5839        .84968E-04   -1.5367    
  10  norm          .10000E-03    1.1232        .19538E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.1754        29.980        .14957E-03   -1.5172    
  12  Prefactor     166.56        100.43        .15627E-03   -1.3120    
  13  Prefactor     .10000E-03    2.2192        .13897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.9858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    51.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.7858        3.4238        .16162E-03   -1.5319    
  17  Prefactor     88.523        42.295        .42704E-04   -1.3823    
  18  Prefactor     .10000E-03    2.6379        .15181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.4420        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     77.762        85.895        .22773E-03   -1.3942    
  21  Normalizat    1.1240        .22427        .30745E-03   -.88985    
  22  Prefactor     .97568        .12118        .18279E-03   -.93545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79554e-09
Minuit parameter uncertainties:
  1  1.17376e-05
  2  0.999649
  3  0.00183252
  4  0.000636341
  5  1.20678e-05
  6  5.54829e-06
  7  2.33589
  8  1.54844e-05
  9  1.5839
  10  1.38642e-05
  11  29.359
  12  100.529
  13  5.10262e-06
  14  3.54006e-06
  15  0.000596002
  16  3.42395
  17  42.3098
  18  3.26048e-05
  19  0.000106888
  20  86.0328
  21  0.224463
  22  0.121211
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  1.548e-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:  9.757e-01  1.212e-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.124e+00  2.245e-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: 5.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/546391/likelihoodResults_654307201_654566401_4FGL_J2055.0-5218_daily_bin1601.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) = 9185.15824784
delta logL = -0.000754855700507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9185.15749312
delta logL = -1.34421497933e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4395       1.0000          .0000       10.000    
     3 'Normalizat'    1.1239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97575       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=   9185.157     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      255 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.715        .18142E-01** at limit **
   2  Index         1.8188        6.4268        .50000        .41068E-06
   3  Normalizat    1.1240        .82860E-02    .30745E-03   -.13320E-02
   4  Prefactor     .97568        .46538E-02    .18279E-03   -.22238E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.81884
  Normalizat = 1.12399
  Prefactor  = 0.975681
 **********
 **   18 **HESSE 
 **********

 FCN=   9185.157     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    284.30        .27505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8188        8.6495        .50000       -.68960    
   3  Normalizat    1.1240        .27484E-01    .61489E-04   -.88985    
   4  Prefactor     .97568        .15436E-01    .36559E-04   -.93545    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.57813e-09
Minuit parameter uncertainties:
  1  0.000638865
  2  963.1
  3  0.0274846
  4  0.0154365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/546391': 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) = 9185.15749084
delta logL = 2.15254840441e-06

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  6.389e-04  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  1.819e+00  9.631e+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:  9.757e-01  1.544e-02  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.124e+00  2.748e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/546391/cmap_HighResolution_654307201_654566401_4FGL_J2055.0-5218_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.62e-08', time_completed='2021-09-29 00:40:30.826067', job_id='546391', GAL2='0.98', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1632901230.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1601' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:40:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 546391: <4FGL_J2055.0-5218_daily_bin1601> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1601> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 00:25:16 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:25:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:25:18 2021
Terminated at Wed Sep 29 00:40:31 2021
Results reported at Wed Sep 29 00:40:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1601 313.764 -52.3099 654307201 654566401 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 :                                   788.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            915 sec.

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

