Sender: LSF System <lsf@bullet0292>
Subject: Job 168634: <4FGL_J1955.1+3321_weekly_bin319> in cluster <slac> Done

Job <4FGL_J1955.1+3321_weekly_bin319> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Jul 31 10:21:29 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 31 10:21:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 31 10:21:31 2021
Terminated at Sat Jul 31 12:12:35 2021
Results reported at Sat Jul 31 12:12:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1955.1+3321_weekly_bin319 298.797 33.35 431913601 432518401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1955.1+3321 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   6483.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             475.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   6663 sec.
    Turnaround time :                            6666 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 147 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 = 17196
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1955.1+3321_weekly_bin319
RA = 298.797, Dec = 33.35
tmin = 431913601, tmax = 432518401
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='168634', job_status='RUN', time_executed='2021-07-31 10:24:08.855311', time_epoch_executed='1627752248.86' WHERE source_name='4FGL J1955.1+3321' and cadence='weekly' and bin_id='319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168634

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168634/ft1_4FGL_J1955.1+3321_weekly_bin319.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168634/ft1_4FGL_J1955.1+3321_weekly_bin319.fits outfile=/scratch/kocevski/168634/ft1_filteredMKT_4FGL_J1955.1+3321_weekly_bin319.fits ra=298.797 dec=33.35 rad=12.0 tmin=431913601.0 tmax=432518401.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 11.49
user 11.01
sys 0.37

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.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/168634/ft1_filteredMKT_4FGL_J1955.1+3321_weekly_bin319.fits evtable="EVENTS" outfile="/scratch/kocevski/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.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.38
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.fits" evtable="EVENTS" scfile=/scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits sctable="SC_DATA" outfile=/scratch/kocevski/168634/ltcube_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.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/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits
.....................!
real 27.44
user 26.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.fits evtable="EVENTS" scfile=/scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits sctable="SC_DATA" expcube=/scratch/kocevski/168634/ltcube_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.fits outfile=/scratch/kocevski/168634/expmap_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.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/168634/ltcube_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.fits
.....................!
real 192.09
user 186.49
sys 4.54

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 gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian 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.
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 HB 21 in ROI with RadialDisk spatial model.
Added 227 point sources and 5 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.1+3321 @ 298.797 33.35

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.fits scfile=/scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits outfile=/scratch/kocevski/168634/cmap_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.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.797 yref=33.35 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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.fits scfile=/scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits outfile=/scratch/kocevski/168634/cmap_HighResolution_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.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.797 yref=33.35 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/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.fits evtable="EVENTS" scfile=/scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/168634/Model_4FGL_J1955.1+3321_weekly_bin319.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 W 51C
adding source gamma Cygni
Working on...
/scratch/kocevski/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.fits.....................!
real 1993.74
user 1986.04
sys 1.62

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.fits', '/scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits', expMap='/scratch/kocevski/168634/expmap_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.fits', expCube='/scratch/kocevski/168634/ltcube_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/168634/Model_4FGL_J1955.1+3321_weekly_bin319.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1955.1+3321'

4FGL J1955.1+3321
   Spectrum: LogParabola
401         norm:  2.481e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
402        alpha:  2.305e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  3.167e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/168634/ft1_filtered_4FGL_J1955.1+3321_weekly_bin319.fits
Spacecraft file(s): /scratch/kocevski/168634/ft2_4FGL_J1955.1+3321_weekly_bin319.fits
Exposure map: /scratch/kocevski/168634/expmap_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.fits
Exposure cube: /scratch/kocevski/168634/ltcube_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/168634/Model_4FGL_J1955.1+3321_weekly_bin319.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) = 65560.7069256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.281       1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.008       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10473E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.8363       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    14.881       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0526       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.060       1.0000         .10000E-03   10000.    
    14 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .16274E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0687       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94527       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   65560.71     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     1913 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6347       -.26611E-08** at limit **
   2  Prefactor     40.281        52.595        .51067E-07    .32288E-07
   3  Prefactor     31.004        23.515       -.11741E-05   -.28339E-04
   4  Prefactor     .10000E-03    56.918        .36654E-08** at limit **
   5  Prefactor     .10000E-03    28.632        .10754E-05** at limit **
   6  norm          .10000E-03    18.149       -.33217E-05** at limit **
   7  norm          .10000E-03    5.4529       -.59923E-07** at limit **
   8  Prefactor     .10000E-03    16.119        .39364E-05** at limit **
   9  norm          3.8330        7.0345        .29424E-06   -.42501E-03
  10  Prefactor     .10000E-03    13.757       -.10237E-05** at limit **
  11  norm          14.881        5.8906        .71510E-07   -.61235E-03
  12  Prefactor     2.0527        .24599       -.32245E-08   -.78665E-03
  13  Prefactor     25.057        19.424       -.32772E-06   -.74000E-05
  14  norm          .10000E-03    2.1244       -.65129E-07** at limit **
  15  norm          .10000E-03    2.3738       -.52339E-07** at limit **
  16  norm          .10000E-03    5.3968       -.88782E-07** at limit **
  17  Prefactor     .10000E-03    3.1884       -.20878E-06** at limit **
  18  Normalizat    1.0687        .24750        .50431E-06   -.63239E-04
  19  Prefactor     .94527        .20723E-01   -.35162E-07   -.14132E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 40.2812
  Prefactor  = 31.0043
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.83298
  Prefactor  = 0.0001
  norm       = 14.8807
  Prefactor  = 2.05266
  Prefactor  = 25.0569
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06865
  Prefactor  = 0.945273
 **********
 **   18 **HESSE 
 **********

 FCN=   65560.71     FROM HESSE     STATUS=OK           262 CALLS     2175 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     40.281        52.562        .63157E-04   -1.4438    
   3  Prefactor     31.004        23.503        .71954E-04   -1.4594    
   4  Prefactor     .10000E-03    56.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.704        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    18.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.6236        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8330        13.312        .10303E-02   -1.5316    
  10  Prefactor     .10000E-03    13.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.881        6.1705        .51914E-03   -1.4936    
  12  Prefactor     2.0527        .24515        .42055E-04   -1.5421    
  13  Prefactor     25.057        19.404        .80020E-04   -1.4706    
  14  norm          .10000E-03    2.1994        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.4796        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.5645        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.2582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0687        .23559        .13520E-02   -.90765    
  19  Prefactor     .94527        .20311E-01    .12022E-03   -.94577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.44256e-10
Minuit parameter uncertainties:
  1  2.38141e-06
  2  52.6229
  3  23.5104
  4  1.37463e-05
  5  1.31143e-05
  6  2.56324e-05
  7  1.32723e-06
  8  4.05023e-05
  9  13.3219
  10  1.32867e-05
  11  6.17081
  12  0.245146
  13  19.4093
  14  1.9813e-06
  15  2.05544e-07
  16  1.15487e-06
  17  7.04129e-07
  18  0.235824
  19  0.0203114
Done.

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

Extracting fit parameters...

4FGL J1955.1+3321
   Spectrum: LogParabola
401         norm:  1.000e-04  2.563e-05  1.000e-04  1.000e+04 ( 1.000e-13)
402        alpha:  2.305e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  3.167e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
824    Prefactor:  9.453e-01  2.031e-02  0.000e+00  1.000e+01 ( 1.000e+00)
825        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
826        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
823   Normalization:  1.069e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 298.797 33.350
Photon Flux Upper Limit: 5.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/168634/likelihoodResults_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.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) = 65560.7055506
delta logL = -0.000259659864241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 65560.705288
delta logL = 2.90905882139e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12210E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8492       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94527       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8390E+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=   65560.71     FROM MIGRAD    STATUS=FAILED       162 CALLS      378 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18868        8.2510        .11923        .11933E-02
   2  alpha         2.9360        3.7864        .50000        .13011E-03
   3  Normalizat    1.0687        .12855E-01    .13519E-02    .17356E-04
   4  Prefactor     .94522        .11062E-02    .12022E-03    .29807E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   65560.71     FROM SIMPLEX   STATUS=UNCHANGED     69 CALLS      447 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18868        8.2510        .14182E-02    .11933E-02
   2  alpha         2.9360        3.7864        .92661E-02    .13011E-03
   3  Normalizat    1.0687        .12855E-01    .28703E-04    .17356E-04
   4  Prefactor     .94522        .11062E-02    .13855E-05    .29807E-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=   65560.71     FROM MIGRAD    STATUS=FAILED        96 CALLS      543 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18865        8.0472        .12047        .11624E-02
   2  alpha         2.9361        3.7943        .50000        .14027E-03
   3  Normalizat    1.0687        .12787E-01    .10816E-04    .16818E-04
   4  Prefactor     .94522        .11003E-02    .96176E-06    .25814E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.188646
  alpha      = 2.93613
  Normalizat = 1.06866
  Prefactor  = 0.945217
 **********
 **   18 **HESSE 
 **********

 FCN=   65560.71     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      582 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18865        8.0281        .12059       -1.5621    
   2  alpha         2.9361        3.7951        .50000        .17535    
   3  Normalizat    1.0687        .12767E-01    .21631E-05   -.90765    
   4  Prefactor     .94522        .10967E-02    .22549E-06   -.94579    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.44617e-08
Minuit parameter uncertainties:
  1  2.46098
  2  5.60898
  3  0.0127674
  4  0.00109671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168634': 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) = 65560.7050049
delta logL = 0.000286080990918

Extracting fit parameters...

4FGL J1955.1+3321
   Spectrum: LogParabola
401         norm:  1.886e-01  2.461e+00  1.000e-04  1.000e+04 ( 1.000e-13)
402        alpha:  2.936e+00  5.609e+00  0.000e+00  5.000e+00 ( 1.000e+00)
403         beta:  3.167e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
824    Prefactor:  9.452e-01  1.097e-03  0.000e+00  1.000e+01 ( 1.000e+00)
825        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
826        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
823   Normalization:  1.069e+00  1.277e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 298.797 33.350

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/168634/cmap_HighResolution_431913601_432518401_4FGL_J1955.1+3321_weekly_bin319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-05', job_status='DONE', photon_flux_upper_limit='5.78e-08', time_completed='2021-07-31 12:12:33.961102', job_id='168634', GAL2='0.95', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1627758753.96', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.86e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='319' AND source_name='4FGL J1955.1+3321' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul 31 12:12:33 PDT 2021

