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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1282
RA = 313.764, Dec = -52.3099
tmin = 571622401, tmax = 571881601
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='205536', job_status='RUN', time_executed='2021-09-25 21:18:49.331594', time_epoch_executed='1632629929.33' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/205536

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/205536/ft1_4FGL_J2055.0-5218_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/205536/ft2_4FGL_J2055.0-5218_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/205536/ft1_4FGL_J2055.0-5218_daily_bin1282.fits outfile=/scratch/kocevski/205536/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1282.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=571622401.0 tmax=571881601.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 2.81
user 2.55
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/205536/ft2_4FGL_J2055.0-5218_daily_bin1282.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/205536/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1282.fits evtable="EVENTS" outfile="/scratch/kocevski/205536/ft1_filtered_4FGL_J2055.0-5218_daily_bin1282.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.51
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/205536/ft1_filtered_4FGL_J2055.0-5218_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/205536/ft2_4FGL_J2055.0-5218_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/205536/ltcube_571622401_571881601_4FGL_J2055.0-5218_daily_bin1282.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/205536/ft2_4FGL_J2055.0-5218_daily_bin1282.fits
.....................!
real 15.90
user 15.46
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/205536/ft1_filtered_4FGL_J2055.0-5218_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/205536/ft2_4FGL_J2055.0-5218_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/205536/ltcube_571622401_571881601_4FGL_J2055.0-5218_daily_bin1282.fits outfile=/scratch/kocevski/205536/expmap_571622401_571881601_4FGL_J2055.0-5218_daily_bin1282.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/205536/ltcube_571622401_571881601_4FGL_J2055.0-5218_daily_bin1282.fits
.....................!
real 193.12
user 187.64
sys 4.83

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/205536/ft1_filtered_4FGL_J2055.0-5218_daily_bin1282.fits scfile=/scratch/kocevski/205536/ft2_4FGL_J2055.0-5218_daily_bin1282.fits outfile=/scratch/kocevski/205536/cmap_571622401_571881601_4FGL_J2055.0-5218_daily_bin1282.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/205536/ft1_filtered_4FGL_J2055.0-5218_daily_bin1282.fits scfile=/scratch/kocevski/205536/ft2_4FGL_J2055.0-5218_daily_bin1282.fits outfile=/scratch/kocevski/205536/cmap_HighResolution_571622401_571881601_4FGL_J2055.0-5218_daily_bin1282.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/205536/ft1_filtered_4FGL_J2055.0-5218_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/205536/ft2_4FGL_J2055.0-5218_daily_bin1282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/205536/Model_4FGL_J2055.0-5218_daily_bin1282.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/205536/ft1_filtered_4FGL_J2055.0-5218_daily_bin1282.fits........................!
real 20.18
user 18.77
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .22554E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .67319E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.7038       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10967E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1076.8       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.267       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.792       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10370E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.0172       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96364       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .73798       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=   1026.533     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2730 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.952       -.14098E-04** at limit **
   2  norm          .10000E-03    8.0197       -.11240E-06** at limit **
   3  norm          .10000E-03    28.663        .13481E-04** at limit **
   4  norm          .10000E-03    565.44       -.46126E-03** at limit **
   5  Prefactor     .10000E-03    1981.8       -.39540E-03** at limit **
   6  Prefactor    10000.0        8089.9        .20275E-02** at limit **
   7  Prefactor     7.6991        14.978       -.17076E-04    .26597E-04
   8  Prefactor     .10001E-03    158.57       -.10178E-03** at limit **
   9  norm          1077.4        463.40        .18134E-03    .40795E-04
  10  norm          .10000E-03    1.4456        .62346E-06** at limit **
  11  Prefactor     .10001E-03    108.88        .60917E-04** at limit **
  12  Prefactor     46.932        159.70       -.46046E-03    .38534E-04
  13  Prefactor     .10000E-03    15.830        .42870E-06** at limit **
  14  Prefactor     53.163        476.47        .50215E-03    .13628E-04
  15  Prefactor     .10000E-03    29.024        .11511E-04** at limit **
  16  Prefactor     5.0158        7.8976       -.58370E-05   -.14515E-03
  17  Prefactor     .10000E-03    51.730       -.51081E-04** at limit **
  18  Prefactor     .10000E-03    12.128       -.10587E-05** at limit **
  19  Prefactor     .10000E-03    6.1278       -.10105E-05** at limit **
  20  Prefactor     .10000E-03    93.556        .76656E-04** at limit **
  21  Normalizat    .96277        .52406       -.99223E-06    .25169E-04
  22  Prefactor     .73810        .28890        .13389E-04   -.20239E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 7.6991
  Prefactor  = 0.000100008
  norm       = 1077.4
  norm       = 0.000100001
  Prefactor  = 0.000100006
  Prefactor  = 46.9321
  Prefactor  = 0.000100001
  Prefactor  = 53.163
  Prefactor  = 0.000100003
  Prefactor  = 5.01577
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 0.962768
  Prefactor  = 0.738096
 **********
 **   18 **HESSE 
 **********

 FCN=   1026.533     FROM HESSE     STATUS=OK           330 CALLS     3060 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.952        .15323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.0236        .88638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    28.662        .16763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    565.45        .20118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1981.7        .21002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        8090.8        .18157E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6991        14.957        .14448E-03   -1.5153    
   8  Prefactor     .10001E-03    158.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1077.4        469.96        .64520E-04   -.90192    
  10  norm          .10000E-03    1.4476        .37624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    108.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.932        160.60        .29161E-03   -1.4337    
  13  Prefactor     .10000E-03    15.828        .12455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     53.163        474.95        .27600E-03   -1.4248    
  15  Prefactor     .10000E-03    29.020        .16866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.0158        7.8938        .10941E-03   -1.5260    
  17  Prefactor     .10000E-03    51.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.177        .10900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.2265        .77428E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    93.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96277        .62690        .30225E-03   -.94288    
  22  Prefactor     .73810        .34561        .19574E-03   -1.0205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84281e-09
Minuit parameter uncertainties:
  1  1.59565e-05
  2  4.4821e-05
  3  3.61618e-05
  4  0.000163281
  5  0.00168329
  6  0.00746523
  7  14.9644
  8  0.00223874
  9  471.777
  10  8.17329e-05
  11  0.00163718
  12  162.113
  13  0.000273819
  14  321.262
  15  0.000548677
  16  7.89546
  17  0.000688596
  18  0.000289732
  19  0.000268988
  20  0.000265952
  21  0.631765
  22  0.346624
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  2.239e-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:  7.381e-01  3.466e-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:  9.628e-01  6.318e-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-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/205536/likelihoodResults_571622401_571881601_4FGL_J2055.0-5218_daily_bin1282.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): 0
logL (Free Index) = 1026.53344175
delta logL = -2.98163818115e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1026.53341196
delta logL = -2.39958808379e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4255       1.0000          .0000       10.000    
     3 'Normalizat'    .96263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73818       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=   1026.533     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      229 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    433.32        .90712E-02** at limit **
   2  Index         2.4234        5.6542        .50000        .10926E-06
   3  Normalizat    .96277        .48328        .68323E-01    .32345E-03
   4  Prefactor     .73810        .28037        .42907E-01    .31187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.42345
  Normalizat = 0.962769
  Prefactor  = 0.738101
 **********
 **   18 **HESSE 
 **********

 FCN=   1026.533     FROM HESSE     STATUS=OK            29 CALLS      258 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    154.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4234        6.2115        .50000       -.54137    
   3  Normalizat    .96277        .56635        .30224E-03   -.94288    
   4  Prefactor     .73810        .32922        .19574E-03   -1.0205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17306e-09
Minuit parameter uncertainties:
  1  0.000313906
  2  4.34848
  3  0.569931
  4  0.330101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/205536': 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) = 1026.53341194
delta logL = 8.87439455255e-10

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  3.139e-04  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.423e+00  4.348e+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:  7.381e-01  3.301e-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:  9.628e-01  5.699e-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/205536/cmap_HighResolution_571622401_571881601_4FGL_J2055.0-5218_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-01', job_status='DONE', photon_flux_upper_limit='1.29e-06', time_completed='2021-09-25 21:25:11.676953', job_id='205536', GAL2='0.74', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632630311.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='8.87e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1282' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:25:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 205536: <4FGL_J2055.0-5218_daily_bin1282> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1282> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 21:15:27 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:18: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 21:18:24 2021
Terminated at Sat Sep 25 21:25:12 2021
Results reported at Sat Sep 25 21:25:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1282 313.764 -52.3099 571622401 571881601 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 :                                   379.25 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             323.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   408 sec.
    Turnaround time :                            585 sec.

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

