Sender: LSF System <lsf@bullet0042>
Subject: Job 684147: <4FGL_J2053.8+2922_weekly_bin593> in cluster <slac> Done

Job <4FGL_J2053.8+2922_weekly_bin593> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug  1 17:37:30 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug  1 17:37:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug  1 17:37:31 2021
Terminated at Sun Aug  1 19:14:46 2021
Results reported at Sun Aug  1 19:14:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2053.8+2922_weekly_bin593 313.454 29.3693 597628801 598233601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2053.8+2922 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   5688.00 sec.
    Max Memory :                                 1265 MB
    Average Memory :                             466.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   5834 sec.
    Turnaround time :                            5836 sec.

The output (if any) follows:

aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 59 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 = 17311
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2053.8+2922_weekly_bin593
RA = 313.454, Dec = 29.3693
tmin = 597628801, tmax = 598233601
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='684147', job_status='RUN', time_executed='2021-08-01 17:38:39.935131', time_epoch_executed='1627864719.94' WHERE source_name='4FGL J2053.8+2922' and cadence='weekly' and bin_id='593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/684147

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/684147/ft1_4FGL_J2053.8+2922_weekly_bin593.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/684147/ft1_4FGL_J2053.8+2922_weekly_bin593.fits outfile=/scratch/kocevski/684147/ft1_filteredMKT_4FGL_J2053.8+2922_weekly_bin593.fits ra=313.454 dec=29.3693 rad=12.0 tmin=597628801.0 tmax=598233601.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 8.51
user 8.03
sys 0.34

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.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/684147/ft1_filteredMKT_4FGL_J2053.8+2922_weekly_bin593.fits evtable="EVENTS" outfile="/scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.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.55
user 0.36
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.fits" evtable="EVENTS" scfile=/scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits sctable="SC_DATA" outfile=/scratch/kocevski/684147/ltcube_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.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/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits
.....................!
real 30.21
user 25.24
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.fits evtable="EVENTS" scfile=/scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits sctable="SC_DATA" expcube=/scratch/kocevski/684147/ltcube_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.fits outfile=/scratch/kocevski/684147/expmap_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.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/684147/ltcube_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.fits
.....................!
real 194.07
user 184.71
sys 4.80

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 209 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2053.8+2922 @ 313.454 29.3693

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.fits scfile=/scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits outfile=/scratch/kocevski/684147/cmap_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.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.454 yref=29.3693 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.60
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.fits scfile=/scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits outfile=/scratch/kocevski/684147/cmap_HighResolution_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.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.454 yref=29.3693 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.61
user 0.44
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.fits evtable="EVENTS" scfile=/scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/684147/Model_4FGL_J2053.8+2922_weekly_bin593.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.fits.....................!
real 1403.97
user 1399.23
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.fits', '/scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits', expMap='/scratch/kocevski/684147/expmap_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.fits', expCube='/scratch/kocevski/684147/ltcube_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/684147/Model_4FGL_J2053.8+2922_weekly_bin593.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2053.8+2922'

4FGL J2053.8+2922
   Spectrum: LogParabola
453         norm:  5.603e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
454        alpha:  1.451e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
455         beta:  2.140e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
456           Eb:  4.763e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/684147/ft1_filtered_4FGL_J2053.8+2922_weekly_bin593.fits
Spacecraft file(s): /scratch/kocevski/684147/ft2_4FGL_J2053.8+2922_weekly_bin593.fits
Exposure map: /scratch/kocevski/684147/expmap_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.fits
Exposure cube: /scratch/kocevski/684147/ltcube_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/684147/Model_4FGL_J2053.8+2922_weekly_bin593.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) = 62830.5041365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8589       1.0000         .10000E-03   10000.    
     2 'norm      '    .94479       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .12530E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .22558E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .16131       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.897       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10712E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.671       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.908       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5388       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4818       1.0000         .10000E-03   10000.    
    14 'norm      '    .52663       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4136       1.0000         .10000E-03   10000.    
    16 'norm      '    4.7944       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8146       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .98749       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99278       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   62830.50     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2065 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8581        14.912         .0000       -.22274E-03
   2  norm          .94559        2.5978         .0000        .21239    
   3  Prefactor     .10000E-03    4.7434         .0000    ** at limit **
   4  norm          .10000E-03    .53952         .0000    ** at limit **
   5  norm          .10000E-03    .78655         .0000    ** at limit **
   6  norm          .15107        1.3734         .0000        .22611E-02
   7  Prefactor     .10000E-03    1.3659         .0000    ** at limit **
   8  norm          10.897        13.180         .0000        .61274E-04
   9  Prefactor     .10000E-03    4.5141         .0000    ** at limit **
  10  Prefactor     33.670        56.211         .0000        .45199E-03
  11  Prefactor     21.906        16.262         .0000       -.24359E-03
  12  Prefactor     3.5378        11.352         .0000       -.41533E-03
  13  Prefactor     3.4793        3.6005         .0000        .38917E-01
  14  norm          .53167        1.3368         .0000        .39925E-02
  15  norm          1.4136        .73451         .0000       -.20209E-02
  16  norm          4.7947        6.8725         .0000        .65113E-03
  17  Prefactor     3.8148        4.9258         .0000        .11980E-02
  18  Normalizat    .98750        .16887         .0000        .25954E-03
  19  Prefactor     .99278        .21217E-01     .0000       -.11656E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.85814
  norm       = 0.945589
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.151074
  Prefactor  = 0.0001
  norm       = 10.8969
  Prefactor  = 0.0001
  Prefactor  = 33.6698
  Prefactor  = 21.9059
  Prefactor  = 3.53777
  Prefactor  = 3.47934
  norm       = 0.531675
  norm       = 1.41365
  norm       = 4.79465
  Prefactor  = 3.81476
  Normalizat = 0.9875
  Prefactor  = 0.992778
 **********
 **   18 **HESSE 
 **********

 FCN=   62830.50     FROM HESSE     STATUS=OK           308 CALLS     2373 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8581        14.904        .13467E-03   -1.5113    
   2  norm          .94559        2.6333        .25938E-02   -1.5513    
   3  Prefactor     .10000E-03    4.7522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.7484        .34910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .80419        .87768E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .15107        1.5894        .12061       -1.5630    
   7  Prefactor     .10000E-03    1.4301        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.897        13.178        .60684E-03   -1.5048    
   9  Prefactor     .10000E-03    4.3321        .15244       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.670        56.291        .69058E-04   -1.4547    
  11  Prefactor     21.906        16.241        .85576E-04   -1.4772    
  12  Prefactor     3.5378        11.331        .21487E-03   -1.5332    
  13  Prefactor     3.4793        3.7072        .10835E-02   -1.5335    
  14  norm          .53167        4.7242        .40134E-02   -1.5562    
  15  norm          1.4136        .74302        .15085E-03   -1.5470    
  16  norm          4.7947        6.8637        .18374E-03   -1.5270    
  17  Prefactor     3.8148        4.9170        .20666E-03   -1.5317    
  18  Normalizat    .98750        .16637        .92538E-03   -.93450    
  19  Prefactor     .99278        .20897E-01    .12569E-03   -.92971    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55978e-08
Minuit parameter uncertainties:
  1  14.9104
  2  2.63358
  3  5.94049e-06
  4  6.83748e-06
  5  1.82578e-06
  6  0.97975
  7  1.43592e-06
  8  13.1818
  9  1.02685e-05
  10  56.3802
  11  16.2447
  12  11.3381
  13  3.70745
  14  3.16973
  15  0.743024
  16  6.86486
  17  4.91755
  18  0.166453
  19  0.020897
Done.

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

Extracting fit parameters...

4FGL J2053.8+2922
   Spectrum: LogParabola
453         norm:  1.090e+01  1.318e+01  1.000e-04  1.000e+04 ( 1.000e-14)
454        alpha:  1.451e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
455         beta:  2.140e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
456           Eb:  4.763e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
755    Prefactor:  9.928e-01  2.090e-02  0.000e+00  1.000e+01 ( 1.000e+00)
756        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
757        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
754   Normalization:  9.875e-01  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.57
Ra Dec: 313.454 29.369
Photon Index (Fixed Index): 1.45 +/- 0.00
Photon Flux (Fixed Index): 2.43e-09 +/- 2.94e-09
Energy Flux (Fixed Index): 1.18e-05 +/- 1.43e-05

TS (Fixed Index): 1.57
Ra Dec: 313.454 29.369
Photon Flux Upper Limit: 1.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/684147/likelihoodResults_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.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) = 62830.0839491
delta logL = 0.418421204224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 62830.0733914
delta logL = 0.428978870586

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2234       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4463       1.0000          .0000       5.0000    
     3 'Normalizat'    .98329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99265       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7660E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   62830.07     FROM MIGRAD    STATUS=FAILED        85 CALLS      280 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2271        14.381        .14924E-03    .21808E-02
   2  alpha         2.4473        1.2787        .34598E-01    .43995E-03
   3  Normalizat    .98340        .14584        .92686E-03    .67697E-03
   4  Prefactor     .99263        .20097E-01    .12569E-03    .45268E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   62830.07     FROM SIMPLEX   STATUS=UNCHANGED     78 CALLS      358 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2271        14.381        .15000E-03   -1.5170    
   2  alpha         2.4473        1.2787        .25018E-02   -.21085E-01
   3  Normalizat    .98340        .14584        .20159E-03   -.93589    
   4  Prefactor     .99263        .20097E-01    .26141E-04   -.92976    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   62830.07     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      387 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2277        10.913        .29849E-04    .13620E-02
   2  alpha         2.4472        .99419        .13839E-02    .78796E-04
   3  Normalizat    .98340        .14551        .37074E-04    .24532E-03
   4  Prefactor     .99263        .20096E-01    .25138E-04    .15434E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 7.22774
  alpha      = 2.44719
  Normalizat = 0.983398
  Prefactor  = 0.992632
 **********
 **   18 **HESSE 
 **********

 FCN=   62830.07     FROM HESSE     STATUS=OK            23 CALLS      410 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2277        10.831        .59698E-05   -1.5170    
   2  alpha         2.4472        .98710        .55357E-04   -.21127E-01
   3  Normalizat    .98340        .14553        .74149E-05   -.93589    
   4  Prefactor     .99263        .20098E-01    .50277E-05   -.92976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52614e-09
Minuit parameter uncertainties:
  1  10.8338
  2  1.01475
  3  0.145591
  4  0.0200979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/684147': 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) = 62830.0733895
delta logL = 0.428980802644

Extracting fit parameters...

4FGL J2053.8+2922
   Spectrum: LogParabola
453         norm:  7.228e+00  1.083e+01  1.000e-04  1.000e+04 ( 1.000e-14)
454        alpha:  2.447e+00  1.015e+00  0.000e+00  5.000e+00 ( 1.000e+00)
455         beta:  2.140e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
456           Eb:  4.763e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
755    Prefactor:  9.926e-01  2.010e-02  0.000e+00  1.000e+01 ( 1.000e+00)
756        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
757        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
754   Normalization:  9.834e-01  1.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 313.454 29.369
Photon Index (Free Index): 2.45 +/- 1.01
Photon Flux (Free Index): 9.50e-09 +/- 1.63e-08
Energy Flux (Free Index): 7.65e-06 +/- 7.85e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/684147/cmap_HighResolution_597628801_598233601_4FGL_J2053.8+2922_weekly_bin593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-05', comment='SUCCESS', photon_flux='2.43e-09', energy_flux2='7.65e-06', photon_flux_error='2.94e-09', dlogl='4.29e-01', energy_flux='1.18e-05', photon_flux2='9.50e-09', job_status='DONE', time_completed='2021-08-01 19:14:44.571320', photon_index_error2='1.01', photon_index2='2.45', ts='1.57', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.22e-08', energy_flux_error2='7.85e-06', EG='0.99', time_epoch_completed='1627870484.57', return_code='0', job_id='684147', GAL2='0.99', EG2='0.98', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='1.63e-08', ts2='2.42', photon_index='1.45' WHERE bin_id='593' AND source_name='4FGL J2053.8+2922' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Aug  1 19:14:44 PDT 2021

