Sender: LSF System <lsf@bullet0181>
Subject: Job 199342: <4FGL_J1955.2+1358_weekly_bin593> in cluster <slac> Done

Job <4FGL_J1955.2+1358_weekly_bin593> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 31 12:21:21 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 31 12:21:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 31 12:21:23 2021
Terminated at Sat Jul 31 14:24:28 2021
Results reported at Sat Jul 31 14:24:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1955.2+1358_weekly_bin593 298.82 13.9824 597628801 598233601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1955.2+1358 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   6946.00 sec.
    Max Memory :                                 637 MB
    Average Memory :                             497.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   7384 sec.
    Turnaround time :                            7387 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 228 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_J1955.2+1358_weekly_bin593
RA = 298.82, Dec = 13.9824
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='199342', job_status='RUN', time_executed='2021-07-31 12:25:40.161833', time_epoch_executed='1627759540.16' WHERE source_name='4FGL J1955.2+1358' and cadence='weekly' and bin_id='593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/199342

Creating custom pfile directory:
/scratch/kocevski/199342/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/199342/ft1_4FGL_J1955.2+1358_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/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/199342/ft1_4FGL_J1955.2+1358_weekly_bin593.fits outfile=/scratch/kocevski/199342/ft1_filteredMKT_4FGL_J1955.2+1358_weekly_bin593.fits ra=298.82 dec=13.9824 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.40
user 8.04
sys 0.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_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/199342/ft1_filteredMKT_4FGL_J1955.2+1358_weekly_bin593.fits evtable="EVENTS" outfile="/scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_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.39
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_weekly_bin593.fits" evtable="EVENTS" scfile=/scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits sctable="SC_DATA" outfile=/scratch/kocevski/199342/ltcube_597628801_598233601_4FGL_J1955.2+1358_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/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits
.....................!
real 27.33
user 26.82
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_weekly_bin593.fits evtable="EVENTS" scfile=/scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits sctable="SC_DATA" expcube=/scratch/kocevski/199342/ltcube_597628801_598233601_4FGL_J1955.2+1358_weekly_bin593.fits outfile=/scratch/kocevski/199342/expmap_597628801_598233601_4FGL_J1955.2+1358_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/199342/ltcube_597628801_598233601_4FGL_J1955.2+1358_weekly_bin593.fits
.....................!
real 190.75
user 185.83
sys 4.50

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 W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
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.
Added 256 point sources and 6 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 J1955.2+1358 @ 298.82 13.9824

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_weekly_bin593.fits scfile=/scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits outfile=/scratch/kocevski/199342/cmap_597628801_598233601_4FGL_J1955.2+1358_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=298.82 yref=13.9824 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.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_weekly_bin593.fits scfile=/scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits outfile=/scratch/kocevski/199342/cmap_HighResolution_597628801_598233601_4FGL_J1955.2+1358_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=298.82 yref=13.9824 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_weekly_bin593.fits evtable="EVENTS" scfile=/scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/199342/Model_4FGL_J1955.2+1358_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 Loop
adding source EG_v02
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_weekly_bin593.fits.....................!
real 2559.88
user 2552.62
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_weekly_bin593.fits', '/scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits', expMap='/scratch/kocevski/199342/expmap_597628801_598233601_4FGL_J1955.2+1358_weekly_bin593.fits', expCube='/scratch/kocevski/199342/ltcube_597628801_598233601_4FGL_J1955.2+1358_weekly_bin593.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/199342/Model_4FGL_J1955.2+1358_weekly_bin593.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1955.2+1358'

4FGL J1955.2+1358
   Spectrum: LogParabola
576         norm:  1.281e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
577        alpha:  2.277e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
578         beta:  1.829e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
579           Eb:  1.033e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/199342/ft1_filtered_4FGL_J1955.2+1358_weekly_bin593.fits
Spacecraft file(s): /scratch/kocevski/199342/ft2_4FGL_J1955.2+1358_weekly_bin593.fits
Exposure map: /scratch/kocevski/199342/expmap_597628801_598233601_4FGL_J1955.2+1358_weekly_bin593.fits
Exposure cube: /scratch/kocevski/199342/ltcube_597628801_598233601_4FGL_J1955.2+1358_weekly_bin593.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/199342/Model_4FGL_J1955.2+1358_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) = 72902.2697058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1221       1.0000         .10000E-03   10000.    
     2 'norm      '    37.679       1.0000         .10000E-03   10000.    
     3 'norm      '    2.2212       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7581       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3985       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10524E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .13982E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .60207       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .85172E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0862       1.0000         .10000E-03   10000.    
    12 'norm      '    .23515       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.0737       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .97704       1.0000          .0000       10.000    
    15 'norm      '    6.1052       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   72902.27     FROM MIGRAD    STATUS=CONVERGED    306 CALLS     1357 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1875        17.068       -.72359E-06    .10403E-03
   2  norm          37.515        20.342        .33729E-07   -.78008E-04
   3  norm          2.2212        2.1002        .82367E-07    .25078E-03
   4  Prefactor     2.7611        1.7450       -.24419E-06   -.14836E-02
   5  Prefactor     5.4012        2.4468       -.28278E-07    .59211E-03
   6  Prefactor     .10000E-03    4.4962       -.30720E-06** at limit **
   7  Prefactor     .10000E-03    4.4373        .12880E-06** at limit **
   8  norm          .10000E-03    .62327       -.38580E-07** at limit **
   9  norm          .60129        3.9918       -.28730E-05    .21865E-03
  10  Prefactor     .10000E-03    11.073        .45291E-08** at limit **
  11  Prefactor     8.0193        10.446        .68907E-06   -.68184E-03
  12  norm          .23578        .28937       -.14975E-06   -.63284E-02
  13  Normalizat    1.0740        .19254       -.11389E-06    .13097E-04
  14  Prefactor     .97703        .18808E-01    .62354E-07    .49268E-03
  15  norm          6.1055        1.4802       -.55769E-07   -.11201E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.18755
  norm       = 37.5152
  norm       = 2.22124
  Prefactor  = 2.76112
  Prefactor  = 5.40119
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.601291
  Prefactor  = 0.0001
  Prefactor  = 8.01934
  norm       = 0.235777
  Normalizat = 1.07398
  Prefactor  = 0.977029
  norm       = 6.10551
 **********
 **   18 **HESSE 
 **********

 FCN=   72902.27     FROM HESSE     STATUS=OK           190 CALLS     1547 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1875        17.182        .22946E-03   -1.5351    
   2  norm          37.515        20.360        .65293E-04   -1.4482    
   3  norm          2.2212        2.1195        .27592E-03   -1.5410    
   4  Prefactor     2.7611        1.8606        .24510E-03   -1.5376    
   5  Prefactor     5.4012        2.4463        .17296E-03   -1.5243    
   6  Prefactor     .10000E-03    4.4879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.4390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.8735        .41145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .60129        6.5949        .46723E-03   -1.5553    
  10  Prefactor     .10000E-03    11.202        .41729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.0193        10.124        .14099E-03   -1.5142    
  12  norm          .23578        .30678        .15479E-03   -1.5611    
  13  Normalizat    1.0740        .18465        .11644E-02   -.90592    
  14  Prefactor     .97703        .18881E-01    .11661E-03   -.93499    
  15  norm          6.1055        1.4911        .15243E-03   -1.5214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67382e-09
Minuit parameter uncertainties:
  1  14.8077
  2  20.3642
  3  2.11956
  4  1.86064
  5  2.44632
  6  0.000142618
  7  5.99121e-05
  8  0.000125507
  9  3.98293
  10  9.47769e-05
  11  10.1265
  12  0.306781
  13  0.184763
  14  0.018881
  15  1.49108
Done.

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

Extracting fit parameters...

4FGL J1955.2+1358
   Spectrum: LogParabola
576         norm:  1.000e-04  1.255e-04  1.000e-04  1.000e+04 ( 1.000e-12)
577        alpha:  2.277e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
578         beta:  1.829e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
579           Eb:  1.033e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
929    Prefactor:  9.770e-01  1.888e-02  0.000e+00  1.000e+01 ( 1.000e+00)
930        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
931        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
925   Normalization:  1.074e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 298.820 13.982
Photon Flux Upper Limit: 5.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/199342/likelihoodResults_597628801_598233601_4FGL_J1955.2+1358_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): 102
logL (Free Index) = 72902.2702484
delta logL = -0.00120521831559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 72902.2690468
delta logL = -3.56190139428e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12649E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3559       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0745       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   72902.25     FROM MIGRAD    STATUS=FAILED       221 CALLS      395 TOTAL
                     EDM=   .26E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22035        128.54        .29913E-02   -.32352E-01
   2  alpha         3.1593        3.2280        .50000        .40507E-03
   3  Normalizat    1.0675        .71939E-01    .11673E-02    .53292E-04
   4  Prefactor     .97709        .65008E-02    .11661E-03    .12791E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   72902.25     FROM SIMPLEX   STATUS=UNCHANGED     92 CALLS      487 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22035        128.54        .17147E-03   -.32352E-01
   2  alpha         3.1593        3.2280        .43841E-02    .40507E-03
   3  Normalizat    1.0675        .71939E-01    .11660E-03    .53292E-04
   4  Prefactor     .97709        .65008E-02    .73287E-05    .12791E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   72902.25     FROM MIGRAD    STATUS=FAILED        77 CALLS      564 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22035        94.985        .23930E-04   -.76011E-05
   2  alpha         3.1593        3.3784        .50000        .40507E-03
   3  Normalizat    1.0675        .55173E-01    .93387E-05    .50643E-04
   4  Prefactor     .97709        .53096E-02    .93287E-06    .13056E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.22035
  alpha      = 3.15928
  Normalizat = 1.06752
  Prefactor  = 0.977087
 **********
 **   18 **HESSE 
 **********

 FCN=   72902.25     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      593 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22035        95.056        .95722E-06   -1.5802    
   2  alpha         3.1593        3.3746        .50000        .26687    
   3  Normalizat    1.0675        .54920E-01    .18677E-05   -.90802    
   4  Prefactor     .97709        .52723E-02    .22291E-06   -.93497    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.63043e-06
Minuit parameter uncertainties:
  1  9.16589
  2  11.3528
  3  0.0549228
  4  0.00527227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/199342': 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): 1
logL (Free Index) = 72902.2492721
delta logL = 0.0197710655048

Extracting fit parameters...

4FGL J1955.2+1358
   Spectrum: LogParabola
576         norm:  2.204e-01  9.166e+00  1.000e-04  1.000e+04 ( 1.000e-12)
577        alpha:  3.159e+00  1.135e+01  0.000e+00  5.000e+00 ( 1.000e+00)
578         beta:  1.829e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
579           Eb:  1.033e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
929    Prefactor:  9.771e-01  5.272e-03  0.000e+00  1.000e+01 ( 1.000e+00)
930        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
931        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
925   Normalization:  1.068e+00  5.492e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 298.820 13.982

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/199342/cmap_HighResolution_597628801_598233601_4FGL_J1955.2+1358_weekly_bin593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.19e-05', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2021-07-31 14:24:26.812831', job_id='199342', GAL2='0.98', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1627766666.81', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.98e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='593' AND source_name='4FGL J1955.2+1358' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul 31 14:24:26 PDT 2021

