Sender: LSF System <lsf@bullet0302>
Subject: Job 962709: <4FGL_J1927.5+6117_weekly_bin444> in cluster <slac> Done

Job <4FGL_J1927.5+6117_weekly_bin444> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Jul 30 21:56:40 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 30 21:56:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 30 21:56:42 2021
Terminated at Fri Jul 30 22:57:32 2021
Results reported at Fri Jul 30 22:57:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1927.5+6117_weekly_bin444 291.882 61.294 507513601 508118401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1927.5+6117 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3426.00 sec.
    Max Memory :                                 625 MB
    Average Memory :                             361.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   3649 sec.
    Turnaround time :                            3652 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 194 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 = 16996
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1927.5+6117_weekly_bin444
RA = 291.882, Dec = 61.294
tmin = 507513601, tmax = 508118401
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='962709', job_status='RUN', time_executed='2021-07-30 22:00:07.273647', time_epoch_executed='1627707607.27' WHERE source_name='4FGL J1927.5+6117' and cadence='weekly' and bin_id='444'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/962709

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/962709/ft1_4FGL_J1927.5+6117_weekly_bin444.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/962709/ft1_4FGL_J1927.5+6117_weekly_bin444.fits outfile=/scratch/kocevski/962709/ft1_filteredMKT_4FGL_J1927.5+6117_weekly_bin444.fits ra=291.882 dec=61.294 rad=12.0 tmin=507513601.0 tmax=508118401.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.29
user 7.91
sys 0.33

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.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/962709/ft1_filteredMKT_4FGL_J1927.5+6117_weekly_bin444.fits evtable="EVENTS" outfile="/scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.fits" evtable="EVENTS" scfile=/scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits sctable="SC_DATA" outfile=/scratch/kocevski/962709/ltcube_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.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/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits
.....................!
real 31.90
user 31.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.fits evtable="EVENTS" scfile=/scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits sctable="SC_DATA" expcube=/scratch/kocevski/962709/ltcube_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.fits outfile=/scratch/kocevski/962709/expmap_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.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/962709/ltcube_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.fits
.....................!
real 194.59
user 186.67
sys 4.89

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 HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 192 point sources and 3 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 J1927.5+6117 @ 291.882 61.294

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.fits scfile=/scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits outfile=/scratch/kocevski/962709/cmap_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.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=291.882 yref=61.294 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.fits scfile=/scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits outfile=/scratch/kocevski/962709/cmap_HighResolution_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.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=291.882 yref=61.294 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.fits evtable="EVENTS" scfile=/scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/962709/Model_4FGL_J1927.5+6117_weekly_bin444.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 EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.fits.....................!
real 427.50
user 424.67
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.fits', '/scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits', expMap='/scratch/kocevski/962709/expmap_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.fits', expCube='/scratch/kocevski/962709/ltcube_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/962709/Model_4FGL_J1927.5+6117_weekly_bin444.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1927.5+6117'

4FGL J1927.5+6117
   Spectrum: LogParabola
316         norm:  4.668e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
317        alpha:  2.108e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  7.647e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  1.576e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/962709/ft1_filtered_4FGL_J1927.5+6117_weekly_bin444.fits
Spacecraft file(s): /scratch/kocevski/962709/ft2_4FGL_J1927.5+6117_weekly_bin444.fits
Exposure map: /scratch/kocevski/962709/expmap_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.fits
Exposure cube: /scratch/kocevski/962709/ltcube_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/962709/Model_4FGL_J1927.5+6117_weekly_bin444.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) = 36400.7076243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.921       1.0000         .10000E-03   10000.    
     2 'norm      '    6.2725       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.719       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4218       1.0000         .10000E-03   10000.    
     6 'norm      '    5.5402       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0647       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2306       1.0000         .10000E-03   10000.    
    14 'norm      '    .68315       1.0000         .10000E-03   10000.    
    15 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.060       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1223       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.9426       1.0000         .10000E-03   10000.    
    19 'norm      '    4.4951       1.0000         .10000E-03   10000.    
    20 'norm      '    22.226       1.0000         .10000E-03   10000.    
    21 'norm      '    .96758       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.4193       1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.2007       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0080       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   36400.70     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     3093 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.920        7.3539        .40664E-06    .46734E-04
   2  norm          6.2732        3.2672        .17971E-06    .49048E-03
   3  Prefactor     .10000E-03    5.4342       -.27389E-06** at limit **
   4  Prefactor     43.648        69.742        .87834E-05    .45123E-04
   5  Prefactor     2.4204        3.5761       -.53781E-06   -.55892E-03
   6  norm          5.5399        3.7048        .83935E-07    .29970E-04
   7  Prefactor     4.0646        7.2630        .86380E-07    .57129E-07
   8  Prefactor     .10000E-03    6.5462        .82543E-09** at limit **
   9  Prefactor     .10000E-03    4.4439       -.12720E-06** at limit **
  10  Prefactor     .10000E-03    20.408        .35256E-06** at limit **
  11  Prefactor     .10000E-03    16.361       -.55429E-06** at limit **
  12  norm          .10000E-03    .56764       -.60469E-06** at limit **
  13  norm          1.2306        1.0179        .61887E-07    .12063E-03
  14  norm          .68382        1.3889        .64006E-06    .30713E-03
  15  norm          .10000E-03    6.7611        .17541E-06** at limit **
  16  Prefactor     13.059        9.5051        .30390E-06   -.12651E-04
  17  Prefactor     2.1224        2.4095        .56458E-05   -.20654E-03
  18  Prefactor     8.9419        13.176        .30655E-06    .16641E-05
  19  norm          4.4949        1.0839       -.51008E-07   -.15592E-02
  20  norm          22.225        17.316       -.27624E-07   -.55675E-05
  21  norm          .96907        3.5707       -.33093E-06   -.23714E-03
  22  Prefactor     .10000E-03    8.4032        .42963E-06** at limit **
  23  norm          4.4193        2.4362       -.40867E-06    .89897E-05
  24  norm          .10000E-03    2.4547        .33486E-07** at limit **
  25  Normalizat    1.2008        .12564       -.28705E-06    .66248E-03
  26  Prefactor     1.0080        .36782E-01   -.27491E-06    .20611E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9205
  norm       = 6.27323
  Prefactor  = 0.0001
  Prefactor  = 43.6484
  Prefactor  = 2.42042
  norm       = 5.5399
  Prefactor  = 4.06457
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.2306
  norm       = 0.683821
  norm       = 0.0001
  Prefactor  = 13.0592
  Prefactor  = 2.12242
  Prefactor  = 8.94195
  norm       = 4.49488
  norm       = 22.2254
  norm       = 0.969074
  Prefactor  = 0.0001
  norm       = 4.4193
  norm       = 0.0001
  Normalizat = 1.20076
  Prefactor  = 1.00796
 **********
 **   18 **HESSE 
 **********

 FCN=   36400.70     FROM HESSE     STATUS=OK           466 CALLS     3559 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.920        7.4037        .55718E-03   -1.4989    
   2  norm          6.2732        3.2487        .16028E-03   -1.5207    
   3  Prefactor     .10000E-03    5.4455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     43.648        69.790        .30316E-03   -1.4386    
   5  Prefactor     2.4204        3.5466        .26301E-03   -1.5397    
   6  norm          5.5399        3.7061        .17069E-03   -1.5237    
   7  Prefactor     4.0646        7.2502        .19999E-03   -1.5305    
   8  Prefactor     .10000E-03    6.7040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.4622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.2981        .27417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2306        1.0186        .17003E-03   -1.5486    
  14  norm          .68382        1.5151        .31035E-02   -1.5543    
  15  norm          .10000E-03    7.0257        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.059        9.5312        .55419E-03   -1.4985    
  17  Prefactor     2.1224        2.4185        .14154E-02   -1.5417    
  18  Prefactor     8.9419        13.171        .13403E-03   -1.5110    
  19  norm          4.4949        1.1083        .94951E-04   -1.5284    
  20  norm          22.225        17.319        .84962E-04   -1.4765    
  21  norm          .96907        17.573        .63310E-02   -1.5511    
  22  Prefactor     .10000E-03    8.4638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4193        2.4354        .19157E-03   -1.5287    
  24  norm          .10000E-03    2.4827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.2008        .13688        .45351E-03   -.86579    
  26  Prefactor     1.0080        .40406E-01    .15563E-03   -.92465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61898e-07
Minuit parameter uncertainties:
  1  7.40426
  2  3.24883
  3  7.82623e-05
  4  69.921
  5  3.5469
  6  3.70626
  7  7.2518
  8  4.3888e-05
  9  8.16774e-06
  10  6.44101e-06
  11  3.0245e-05
  12  2.23599e-05
  13  1.01861
  14  1.51516
  15  6.21666e-05
  16  9.53227
  17  2.41864
  18  13.1756
  19  1.10834
  20  17.3225
  21  8.25579
  22  5.28555e-07
  23  2.43541
  24  3.85057e-06
  25  0.136921
  26  0.0404075
Done.

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

Extracting fit parameters...

4FGL J1927.5+6117
   Spectrum: LogParabola
316         norm:  1.000e-04  6.217e-05  1.000e-04  1.000e+04 ( 1.000e-13)
317        alpha:  2.108e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  7.647e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  1.576e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.008e+00  4.041e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
648   Normalization:  1.201e+00  1.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 291.882 61.294
Photon Flux Upper Limit: 2.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/962709/likelihoodResults_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.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) = 36400.7023225
delta logL = -0.000679887518345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 36400.7016431
delta logL = -4.30627551395e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   36400.70     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      222 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    20.237        .90712E-01** at limit **
   2  alpha         2.2400        3.0107        .41622       -.45726E-04
   3  Normalizat    1.2008        .11944E-01    .10233        .21782E-03
   4  Prefactor     1.0080        .38079E-02    .43645E-01    .13088E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100023
  alpha      = 2.24002
  Normalizat = 1.20076
  Prefactor  = 1.00796
 **********
 **   18 **HESSE 
 **********

 FCN=   36400.70     FROM HESSE     STATUS=OK            35 CALLS      257 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    12.206        .50121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2400        3.5347        .16649       -.10418    
   3  Normalizat    1.2008        .12260        .45351E-03   -.86579    
   4  Prefactor     1.0080        .39259E-01    .15563E-03   -.92465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08373e-09
Minuit parameter uncertainties:
  1  0.00105467
  2  2.72256
  3  0.122633
  4  0.0392601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/962709': 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) = 36400.7016403
delta logL = 2.36029154621e-06

Extracting fit parameters...

4FGL J1927.5+6117
   Spectrum: LogParabola
316         norm:  1.000e-04  1.055e-03  1.000e-04  1.000e+04 ( 1.000e-13)
317        alpha:  2.240e+00  2.723e+00  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  7.647e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  1.576e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.008e+00  3.926e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
648   Normalization:  1.201e+00  1.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 291.882 61.294

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/962709/cmap_HighResolution_507513601_508118401_4FGL_J1927.5+6117_weekly_bin444.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-05', job_status='DONE', photon_flux_upper_limit='2.73e-08', time_completed='2021-07-30 22:57:31.397633', job_id='962709', GAL2='1.01', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1627711051.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.36e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='444' AND source_name='4FGL J1927.5+6117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 30 22:57:31 PDT 2021

