Sender: LSF System <lsf@bullet0243>
Subject: Job 167412: <4FGL_J1955.1+3321_weekly_bin155> in cluster <slac> Done

Job <4FGL_J1955.1+3321_weekly_bin155> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jul 31 10:17:04 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 31 10:17:06 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:17:06 2021
Terminated at Sat Jul 31 12:53:18 2021
Results reported at Sat Jul 31 12:53:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1955.1+3321_weekly_bin155 298.797 33.35 332726401 333331201 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 :                                   9176.00 sec.
    Max Memory :                                 640 MB
    Average Memory :                             528.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9371 sec.
    Turnaround time :                            9374 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 142 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 = 17158
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1955.1+3321_weekly_bin155
RA = 298.797, Dec = 33.35
tmin = 332726401, tmax = 333331201
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='167412', job_status='RUN', time_executed='2021-07-31 10:19:42.327310', time_epoch_executed='1627751982.33' WHERE source_name='4FGL J1955.1+3321' and cadence='weekly' and bin_id='155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167412

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167412/ft1_4FGL_J1955.1+3321_weekly_bin155.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167412/ft1_4FGL_J1955.1+3321_weekly_bin155.fits outfile=/scratch/kocevski/167412/ft1_filteredMKT_4FGL_J1955.1+3321_weekly_bin155.fits ra=298.797 dec=33.35 rad=12.0 tmin=332726401.0 tmax=333331201.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.03
user 7.70
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.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/167412/ft1_filteredMKT_4FGL_J1955.1+3321_weekly_bin155.fits evtable="EVENTS" outfile="/scratch/kocevski/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.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 2.29
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.fits" evtable="EVENTS" scfile=/scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits sctable="SC_DATA" outfile=/scratch/kocevski/167412/ltcube_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.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/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits
.....................!
real 26.99
user 26.02
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits sctable="SC_DATA" expcube=/scratch/kocevski/167412/ltcube_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.fits outfile=/scratch/kocevski/167412/expmap_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.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/167412/ltcube_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.fits
.....................!
real 191.90
user 184.77
sys 5.15

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/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.fits scfile=/scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits outfile=/scratch/kocevski/167412/cmap_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.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.60
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.fits scfile=/scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits outfile=/scratch/kocevski/167412/cmap_HighResolution_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.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.61
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/167412/Model_4FGL_J1955.1+3321_weekly_bin155.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/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.fits.....................!
real 2861.54
user 2854.82
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.fits', '/scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits', expMap='/scratch/kocevski/167412/expmap_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.fits', expCube='/scratch/kocevski/167412/ltcube_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/167412/Model_4FGL_J1955.1+3321_weekly_bin155.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/167412/ft1_filtered_4FGL_J1955.1+3321_weekly_bin155.fits
Spacecraft file(s): /scratch/kocevski/167412/ft2_4FGL_J1955.1+3321_weekly_bin155.fits
Exposure map: /scratch/kocevski/167412/expmap_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.fits
Exposure cube: /scratch/kocevski/167412/ltcube_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/167412/Model_4FGL_J1955.1+3321_weekly_bin155.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) = 98205.2980437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    78.539       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.312       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .25080E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .37641       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3435       1.0000         .10000E-03   10000.    
     9 'norm      '    .15194E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8526       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5580       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2239       1.0000         .10000E-03   10000.    
    15 'norm      '    .10490E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.0845       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.0335       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1073       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97148       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=   98205.20     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     1737 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5753        .67594E-07** at limit **
   2  Prefactor     78.521        69.522       -.14491E-04    .54652E-06
   3  Prefactor     12.312        9.5332        .21073E-07   -.12133E-06
   4  Prefactor     .10000E-03    206.38       -.34819E-05** at limit **
   5  Prefactor     .10000E-03    1.1907       -.25875E-07** at limit **
   6  norm          .10000E-03    2.8991        .42363E-07** at limit **
   7  norm          .37676        1.0641       -.12462E-06   -.45682E-03
   8  Prefactor     6.3489        10.343        .75514E-05    .18958E-03
   9  norm          .10007E-03    1.7660       -.14748E-05** at limit **
  10  Prefactor     .10000E-03    12.910        .66116E-05** at limit **
  11  norm          1.8529        3.0992       -.97156E-07   -.19138E-03
  12  Prefactor     2.5580        .17504       -.15000E-07   -.65305E-04
  13  Prefactor     .10000E-03    10.422        .28155E-06** at limit **
  14  norm          1.2250        1.4390        .11232E-06   -.49941E-03
  15  norm          .10000E-03    .69199        .11748E-07** at limit **
  16  norm          9.0847        4.1010        .11534E-06   -.88240E-05
  17  Prefactor     5.0341        3.7034        .60586E-08    .32734E-05
  18  Normalizat    1.1071        .20500       -.95752E-06   -.22313E-04
  19  Prefactor     .97150        .18043E-01    .20854E-07    .29422E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 78.5211
  Prefactor  = 12.3117
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.376763
  Prefactor  = 6.34888
  norm       = 0.000100065
  Prefactor  = 0.0001
  norm       = 1.85294
  Prefactor  = 2.558
  Prefactor  = 0.0001
  norm       = 1.22501
  norm       = 0.0001
  norm       = 9.08468
  Prefactor  = 5.03409
  Normalizat = 1.10706
  Prefactor  = 0.9715
 **********
 **   18 **HESSE 
 **********

 FCN=   98205.20     FROM HESSE     STATUS=OK           288 CALLS     2025 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     78.521        69.310        .22657E-03   -1.3933    
   3  Prefactor     12.312        9.5309        .11416E-03   -1.5006    
   4  Prefactor     .10000E-03    206.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.1933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.8145        .17947       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .37676        1.7472        .21511E-02   -1.5585    
   8  Prefactor     6.3489        10.398        .15937E-03   -1.5204    
   9  norm          .10007E-03    1.7326        .16164       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8529        3.1559        .15314E-02   -1.5436    
  12  Prefactor     2.5580        .17471        .31852E-04   -1.5388    
  13  Prefactor     .10000E-03    10.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2250        1.7968        .20365E-02   -1.5487    
  15  norm          .10000E-03    3.6604        .50748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.0847        4.1076        .66488E-03   -1.5105    
  17  Prefactor     5.0341        3.6964        .17923E-03   -1.5259    
  18  Normalizat    1.1071        .19436        .13840E-02   -.89525    
  19  Prefactor     .97150        .17770E-01    .12615E-03   -.93686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69825e-08
Minuit parameter uncertainties:
  1  1.18498e-06
  2  69.3813
  3  9.53211
  4  5.62067e-05
  5  2.35018e-06
  6  0.000103177
  7  1.62255
  8  10.4006
  9  0.000672036
  10  1.84867e-05
  11  3.15623
  12  0.174708
  13  1.21266e-06
  14  1.79689
  15  3.62012e-06
  16  4.10773
  17  3.69656
  18  0.194482
  19  0.0177705
Done.

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

Extracting fit parameters...

4FGL J1955.1+3321
   Spectrum: LogParabola
401         norm:  1.000e-04  1.032e-04  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.715e-01  1.777e-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.107e+00  1.945e-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: 4.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/167412/likelihoodResults_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.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) = 98205.2024169
delta logL = -8.14895320218e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 98205.20232
delta logL = 1.543671533e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23738E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4469       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97151       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   98205.04     FROM MIGRAD    STATUS=FAILED       154 CALLS      343 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1834        373.67        .40138E-03    .82072E-03
   2  alpha         3.3022        3.3176        .63407E-01    .16962E-03
   3  Normalizat    1.1040        .19426        .13853E-02   -.59756E-03
   4  Prefactor     .97041        .16234E-01    .12620E-03   -.36767E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   98205.04     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      432 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1834        373.67        .16709E-03    .82072E-03
   2  alpha         3.3022        3.3176        .12481E-02    .16962E-03
   3  Normalizat    1.1040        .19426        .14159E-03   -.59756E-03
   4  Prefactor     .97041        .16234E-01    .10830E-04   -.36767E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   98205.04     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      464 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1834        5.3232        .16055E-04    .11330E-03
   2  alpha         3.3021        1.0308        .25363E-02    .90365E-05
   3  Normalizat    1.1040        .18998        .55414E-04    .57116E-04
   4  Prefactor     .97041        .16816E-01    .25240E-04    .74951E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.18336
  alpha      = 3.30215
  Normalizat = 1.104
  Prefactor  = 0.970408
 **********
 **   18 **HESSE 
 **********

 FCN=   98205.04     FROM HESSE     STATUS=OK            23 CALLS      487 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1834        5.2356        .32110E-05   -1.5412    
   2  alpha         3.3021        1.0148        .10145E-03    .32664    
   3  Normalizat    1.1040        .18989        .11083E-04   -.89623    
   4  Prefactor     .97041        .16813E-01    .50479E-05   -.93723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71245e-11
Minuit parameter uncertainties:
  1  5.23669
  2  1.04872
  3  0.190008
  4  0.0168129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167412': 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) = 98205.0387424
delta logL = 0.163592995741

Extracting fit parameters...

4FGL J1955.1+3321
   Spectrum: LogParabola
401         norm:  2.183e+00  5.237e+00  1.000e-04  1.000e+04 ( 1.000e-13)
402        alpha:  3.302e+00  1.049e+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.704e-01  1.681e-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.104e+00  1.900e-01  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/167412/cmap_HighResolution_332726401_333331201_4FGL_J1955.1+3321_weekly_bin155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', job_status='DONE', photon_flux_upper_limit='4.67e-08', time_completed='2021-07-31 12:53:16.609669', job_id='167412', GAL2='0.97', fit_tolerance='1e-08', EG2='1.10', EG='1.11', time_epoch_completed='1627761196.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.64e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='155' AND source_name='4FGL J1955.1+3321' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul 31 12:53:16 PDT 2021

