Sender: LSF System <lsf@bullet0126>
Subject: Job 194405: <4FGL_J1955.2+1358_weekly_bin311> in cluster <slac> Done

Job <4FGL_J1955.2+1358_weekly_bin311> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jul 31 12:01:21 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 31 12:01: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:01:23 2021
Terminated at Sat Jul 31 15:12:21 2021
Results reported at Sat Jul 31 15:12:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1955.2+1358_weekly_bin311 298.82 13.9824 427075201 427680001 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 :                                   11248.00 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             606.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11458 sec.
    Turnaround time :                            11460 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 179 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 = 17232
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1955.2+1358_weekly_bin311
RA = 298.82, Dec = 13.9824
tmin = 427075201, tmax = 427680001
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='194405', job_status='RUN', time_executed='2021-07-31 12:04:31.859828', time_epoch_executed='1627758271.86' WHERE source_name='4FGL J1955.2+1358' and cadence='weekly' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194405

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194405/ft1_4FGL_J1955.2+1358_weekly_bin311.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194405/ft1_4FGL_J1955.2+1358_weekly_bin311.fits outfile=/scratch/kocevski/194405/ft1_filteredMKT_4FGL_J1955.2+1358_weekly_bin311.fits ra=298.82 dec=13.9824 rad=12.0 tmin=427075201.0 tmax=427680001.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 12.19
user 11.75
sys 0.39

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.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/194405/ft1_filteredMKT_4FGL_J1955.2+1358_weekly_bin311.fits evtable="EVENTS" outfile="/scratch/kocevski/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.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.56
user 0.37
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/194405/ltcube_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.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/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits
.....................!
real 27.42
user 26.99
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/194405/ltcube_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.fits outfile=/scratch/kocevski/194405/expmap_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.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/194405/ltcube_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.fits
.....................!
real 191.76
user 185.78
sys 5.29

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/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.fits scfile=/scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits outfile=/scratch/kocevski/194405/cmap_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.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.61
user 0.44
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.fits scfile=/scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits outfile=/scratch/kocevski/194405/cmap_HighResolution_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.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.61
user 0.44
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194405/Model_4FGL_J1955.2+1358_weekly_bin311.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/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.fits.....................!
real 4563.08
user 4552.73
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.fits', '/scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits', expMap='/scratch/kocevski/194405/expmap_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.fits', expCube='/scratch/kocevski/194405/ltcube_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/194405/Model_4FGL_J1955.2+1358_weekly_bin311.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/194405/ft1_filtered_4FGL_J1955.2+1358_weekly_bin311.fits
Spacecraft file(s): /scratch/kocevski/194405/ft2_4FGL_J1955.2+1358_weekly_bin311.fits
Exposure map: /scratch/kocevski/194405/expmap_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.fits
Exposure cube: /scratch/kocevski/194405/ltcube_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/194405/Model_4FGL_J1955.2+1358_weekly_bin311.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) = 125046.038862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9840       1.0000         .10000E-03   10000.    
     2 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .80542       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7996       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.4957       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4143       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .80368       1.0000         .10000E-03   10000.    
    12 'norm      '    .65105       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.4543       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .98060       1.0000          .0000       10.000    
    15 'norm      '    6.6618       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=   125044.9     FROM MIGRAD    STATUS=CONVERGED    290 CALLS     1232 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9920        8.4709        .50826E-05    .36870E-03
   2  norm          .10000E-03    7.0841        .65566E-06** at limit **
   3  norm          .80628        1.1298       -.47009E-07   -.22408E-02
   4  Prefactor     .10000E-03    .22093        .36473E-08** at limit **
   5  Prefactor     1.7998        .92419       -.19530E-06    .60165E-02
   6  Prefactor     .10000E-03    4.9659       -.36774E-06** at limit **
   7  Prefactor     .10000E-03    2.4939       -.20111E-06** at limit **
   8  norm          .10000E-03    .30443        .56367E-07** at limit **
   9  norm          2.4943        2.5420       -.75849E-07   -.67207E-04
  10  Prefactor     2.4138        4.2377       -.42190E-06   -.59572E-03
  11  Prefactor     .80949        2.9178        .10035E-05   -.18342E-02
  12  norm          .65130        .44533        .60504E-07   -.81485E-02
  13  Normalizat    1.4543        .14921       -.55374E-06   -.45150E-03
  14  Prefactor     .98060        .13762E-01   -.64353E-07   -.72028E-03
  15  norm          6.6623        1.0418       -.32777E-07   -.33494E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.99203
  norm       = 0.0001
  norm       = 0.806283
  Prefactor  = 0.0001
  Prefactor  = 1.79979
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.49432
  Prefactor  = 2.41382
  Prefactor  = 0.809493
  norm       = 0.651302
  Normalizat = 1.45431
  Prefactor  = 0.980602
  norm       = 6.66231
 **********
 **   18 **HESSE 
 **********

 FCN=   125044.9     FROM HESSE     STATUS=OK           202 CALLS     1434 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9920        8.5505        .18014E-03   -1.5261    
   2  norm          .10000E-03    7.2110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .80628        1.6835        .47218E-02   -1.5528    
   4  Prefactor     .10000E-03    .65759        .31894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7998        1.1746        .15019E-02   -1.5440    
   6  Prefactor     .10000E-03    4.9789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .33759        .77939E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4943        2.5407        .25871E-03   -1.5392    
  10  Prefactor     2.4138        4.4094        .26346E-03   -1.5397    
  11  Prefactor     .80949        36.524        .90464E-02   -1.5528    
  12  norm          .65130        .45982        .17198E-02   -1.5547    
  13  Normalizat    1.4543        .14938        .10725E-02   -.79070    
  14  Prefactor     .98060        .13786E-01    .11621E-03   -.93379    
  15  norm          6.6623        1.0455        .15547E-04   -1.5192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19466e-07
Minuit parameter uncertainties:
  1  8.55257
  2  2.32364e-05
  3  1.68357
  4  6.24683e-06
  5  1.17457
  6  7.70569e-06
  7  3.00823e-06
  8  1.58917e-05
  9  2.54083
  10  4.40997
  11  10.8813
  12  0.459822
  13  0.149428
  14  0.0137864
  15  1.04555
Done.

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

Extracting fit parameters...

4FGL J1955.2+1358
   Spectrum: LogParabola
576         norm:  1.000e-04  1.589e-05  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.806e-01  1.379e-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.454e+00  1.494e-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: 2.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194405/likelihoodResults_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.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) = 125044.867796
delta logL = -0.000973007117864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 125044.606111
delta logL = 0.260711938332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35210       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0484       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98052       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   125044.6     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      271 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35210        .96288        .48576E-06   -.12071E-02
   2  alpha         1.0486        .61332        .20073E-04    .29947E-04
   3  Normalizat    1.4538        .14127       -.60594E-07   -.46526E-04
   4  Prefactor     .98052        .12985E-01   -.72428E-09   -.25541E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.352103
  alpha      = 1.04857
  Normalizat = 1.45379
  Prefactor  = 0.980515
 **********
 **   18 **HESSE 
 **********

 FCN=   125044.6     FROM HESSE     STATUS=OK            35 CALLS      306 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35210        .67781        .33815E-02   -1.5589    
   2  alpha         1.0486        .91507        .13840       -.61943    
   3  Normalizat    1.4538        .14088        .10726E-02   -.79085    
   4  Prefactor     .98052        .13096E-01    .11622E-03   -.93382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87054e-06
Minuit parameter uncertainties:
  1  0.67782
  2  0.949081
  3  0.140915
  4  0.0130956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194405': 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) = 125044.606111
delta logL = 0.260711968323

Extracting fit parameters...

4FGL J1955.2+1358
   Spectrum: LogParabola
576         norm:  3.521e-01  6.778e-01  1.000e-04  1.000e+04 ( 1.000e-12)
577        alpha:  1.049e+00  9.491e-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.805e-01  1.310e-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.454e+00  1.409e-01  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 -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/194405/cmap_HighResolution_427075201_427680001_4FGL_J1955.2+1358_weekly_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-05', job_status='DONE', photon_flux_upper_limit='2.88e-08', time_completed='2021-07-31 15:12:19.833545', job_id='194405', GAL2='0.98', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1627769539.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.61e-01', ts2='0.52', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='311' AND source_name='4FGL J1955.2+1358' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul 31 15:12:19 PDT 2021

