Sender: LSF System <lsf@bullet0069>
Subject: Job 782658: <4FGL_J1637.7+7326_weekly_bin31> in cluster <slac> Done

Job <4FGL_J1637.7+7326_weekly_bin31> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Jul 25 06:51:30 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 25 07:02:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 25 07:02:39 2021
Terminated at Sun Jul 25 07:32:18 2021
Results reported at Sun Jul 25 07:32:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1637.7+7326_weekly_bin31 249.448 73.4413 257731201 258336001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1637.7+7326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1574.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             325.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1780 sec.
    Turnaround time :                            2448 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 159 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 = 17245
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1637.7+7326_weekly_bin31
RA = 249.448, Dec = 73.4413
tmin = 257731201, tmax = 258336001
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='782658', job_status='RUN', time_executed='2021-07-25 07:05:32.105175', time_epoch_executed='1627221932.11' WHERE source_name='4FGL J1637.7+7326' and cadence='weekly' and bin_id='31'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/782658

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/782658/ft1_4FGL_J1637.7+7326_weekly_bin31.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/782658/ft1_4FGL_J1637.7+7326_weekly_bin31.fits outfile=/scratch/kocevski/782658/ft1_filteredMKT_4FGL_J1637.7+7326_weekly_bin31.fits ra=249.448 dec=73.4413 rad=12.0 tmin=257731201.0 tmax=258336001.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 3.45
user 2.42
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.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/782658/ft1_filteredMKT_4FGL_J1637.7+7326_weekly_bin31.fits evtable="EVENTS" outfile="/scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.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.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.fits" evtable="EVENTS" scfile=/scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits sctable="SC_DATA" outfile=/scratch/kocevski/782658/ltcube_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.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/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits
.....................!
real 32.72
user 30.93
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits sctable="SC_DATA" expcube=/scratch/kocevski/782658/ltcube_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.fits outfile=/scratch/kocevski/782658/expmap_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.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/782658/ltcube_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.fits
.....................!
real 193.55
user 186.26
sys 5.60

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
Added 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1637.7+7326 @ 249.448 73.4413

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.fits scfile=/scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits outfile=/scratch/kocevski/782658/cmap_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.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=249.448 yref=73.4413 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 1.67
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.fits scfile=/scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits outfile=/scratch/kocevski/782658/cmap_HighResolution_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.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=249.448 yref=73.4413 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.88
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/782658/Model_4FGL_J1637.7+7326_weekly_bin31.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 GAL_V02
Working on...
/scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.fits.....................!
real 157.85
user 153.18
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.fits', '/scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits', expMap='/scratch/kocevski/782658/expmap_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.fits', expCube='/scratch/kocevski/782658/ltcube_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/782658/Model_4FGL_J1637.7+7326_weekly_bin31.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1637.7+7326'

4FGL J1637.7+7326
   Spectrum: PowerLaw
346    Prefactor:  4.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-15)
347        Index:  1.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.483e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/782658/ft1_filtered_4FGL_J1637.7+7326_weekly_bin31.fits
Spacecraft file(s): /scratch/kocevski/782658/ft2_4FGL_J1637.7+7326_weekly_bin31.fits
Exposure map: /scratch/kocevski/782658/expmap_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.fits
Exposure cube: /scratch/kocevski/782658/ltcube_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/782658/Model_4FGL_J1637.7+7326_weekly_bin31.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) = 14974.4367638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.499       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.199       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.229       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.922       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.2128       1.0000         .10000E-03   10000.    
    14 'norm      '    .21722       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.0854       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4106       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.456       1.0000         .10000E-03   10000.    
    19 'norm      '    2.6483       1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.9395       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.8163       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1846       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .85207       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14974.34     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     2996 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3162        .18389E-09** at limit **
   2  Prefactor     10.502        14.709        .73446E-07   -.32083E-04
   3  Prefactor     .10000E-03    11.950       -.21156E-07** at limit **
   4  Prefactor     26.206        21.661        .49639E-06    .51373E-04
   5  Prefactor     .10000E-03    20.319       -.15381E-05** at limit **
   6  Prefactor     19.235        39.354        .27544E-05    .93787E-04
   7  Prefactor     .10000E-03    4.4927        .12288E-07** at limit **
   8  Prefactor     12.921        12.495       -.10951E-07   -.31232E-05
   9  Prefactor     .10000E-03    40.673       -.65704E-06** at limit **
  10  norm          .10000E-03    5.6793        .15112E-07** at limit **
  11  Prefactor     .10001E-03    60.911        .63930E-05** at limit **
  12  Prefactor     .10000E-03    15.066       -.39964E-06** at limit **
  13  norm          9.2139        6.8886        .29059E-06    .14920E-03
  14  norm          .21800        .43848       -.10000E-06   -.19241E-02
  15  Prefactor     8.0820        6.6989        .43497E-06    .34447E-03
  16  Prefactor     .10000E-03    .69828       -.49198E-09** at limit **
  17  Prefactor     6.4027        8.8469        .20464E-05   -.78863E-03
  18  Prefactor     12.457        15.602        .10887E-06   -.32324E-04
  19  norm          2.6483        1.4715       -.24649E-07   -.10726E-04
  20  norm          .10000E-03    .11249        .11655E-07** at limit **
  21  norm          3.9397        2.7633        .51962E-07   -.15675E-03
  22  Prefactor     .10000E-03    6.6993       -.22101E-07** at limit **
  23  Prefactor     .10001E-03    70.706       -.60951E-05** at limit **
  24  Prefactor     .10000E-03    3.1069       -.30670E-07** at limit **
  25  Prefactor     3.8168        10.767        .28272E-06   -.40586E-04
  26  Prefactor     .10000E-03    18.502        .18198E-05** at limit **
  27  Normalizat    1.1843        .12717       -.60107E-06    .99955E-04
  28  Prefactor     .85220        .84625E-01    .49327E-07   -.40041E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.5024
  Prefactor  = 0.0001
  Prefactor  = 26.2058
  Prefactor  = 0.000100001
  Prefactor  = 19.235
  Prefactor  = 0.0001
  Prefactor  = 12.9207
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 9.21385
  norm       = 0.217998
  Prefactor  = 8.08195
  Prefactor  = 0.0001
  Prefactor  = 6.40273
  Prefactor  = 12.4573
  norm       = 2.64828
  norm       = 0.0001
  norm       = 3.93971
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 3.81676
  Prefactor  = 0.000100001
  Normalizat = 1.1843
  Prefactor  = 0.852198
 **********
 **   18 **HESSE 
 **********

 FCN=   14974.34     FROM HESSE     STATUS=OK           521 CALLS     3517 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.502        14.777        .12366E-03   -1.5060    
   3  Prefactor     .10000E-03    11.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.206        21.753        .78265E-04   -1.4684    
   5  Prefactor     .10000E-03    20.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.235        39.614        .91336E-04   -1.4831    
   7  Prefactor     .10000E-03    4.5133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.921        12.497        .11143E-03   -1.4989    
   9  Prefactor     .10000E-03    40.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.6937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    63.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.2139        6.8803        .13204E-03   -1.5101    
  14  norm          .21800        .45015        .97660E-03   -1.5615    
  15  Prefactor     8.0820        6.7212        .14100E-03   -1.5139    
  16  Prefactor     .10000E-03    .70562        .99468E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.4027        10.281        .79260E-03   -1.5202    
  18  Prefactor     12.457        15.480        .11350E-03   -1.5002    
  19  norm          2.6483        1.4700        .10542E-03   -1.5382    
  20  norm          .10000E-03    .19413        .78651E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9397        2.7517        .16055E-03   -1.5311    
  22  Prefactor     .10000E-03    6.7046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    72.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.2278        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.8168        10.753        .20661E-03   -1.5317    
  26  Prefactor     .10000E-03    18.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1843        .14959        .25872E-03   -.87089    
  28  Prefactor     .85220        .99726E-01    .21123E-03   -.97832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5791e-09
Minuit parameter uncertainties:
  1  5.11555e-07
  2  14.7823
  3  1.68282e-06
  4  21.7594
  5  0.000225561
  6  39.6681
  7  2.45665e-06
  8  12.4998
  9  0.000125719
  10  2.16488e-06
  11  0.00159478
  12  4.70382e-05
  13  6.88092
  14  0.450158
  15  6.72178
  16  6.35293e-07
  17  10.2841
  18  15.4853
  19  1.46999
  20  7.98607e-07
  21  2.75183
  22  1.10662e-06
  23  0.00161392
  24  1.48039e-06
  25  10.7587
  26  0.000247529
  27  0.149648
  28  0.0997469
Done.

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

Extracting fit parameters...

4FGL J1637.7+7326
   Spectrum: PowerLaw
346    Prefactor:  1.000e-04  1.595e-03  1.000e-04  1.000e+04 ( 1.000e-15)
347        Index:  1.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.483e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.522e-01  9.975e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.184e+00  1.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 249.448 73.441
Photon Flux Upper Limit: 2.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/782658/likelihoodResults_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.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): 0
logL (Free Index) = 14974.3408149
delta logL = -7.49662995077e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14974.2024655
delta logL = 0.138274418749

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3674       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1185       1.0000          .0000       10.000    
     3 'Normalizat'    1.1683       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14974.20     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      286 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3674        210.48        .66578E-02    .21430E-02
   2  Index         3.1183        6.5189        .68185E-01    .64404E-03
   3  Normalizat    1.1682        .36940E-01    .58851E-01    .38545E-03
   4  Prefactor     .85670        .25039E-01    .44450E-01    .48454E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.3674
  Index      = 3.11828
  Normalizat = 1.16822
  Prefactor  = 0.856699
 **********
 **   18 **HESSE 
 **********

 FCN=   14974.20     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      317 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3674        425.75        .26631E-03   -1.5400    
   2  Index         3.1183        6.1390        .12199E-01   -.38585    
   3  Normalizat    1.1682        .10319        .26027E-03   -.87591    
   4  Prefactor     .85670        .69797E-01    .21072E-03   -.97671    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.35342e-08
Minuit parameter uncertainties:
  1  63.9611
  2  8.21375
  3  0.103209
  4  0.0698043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/782658': 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): 102
logL (Free Index) = 14974.2024653
delta logL = 0.138274627214

Extracting fit parameters...

4FGL J1637.7+7326
   Spectrum: PowerLaw
346    Prefactor:  2.367e+00  6.396e+01  1.000e-04  1.000e+04 ( 1.000e-15)
347        Index:  3.118e+00  8.214e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.483e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.567e-01  6.980e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.168e+00  1.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 249.448 73.441

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/782658/cmap_HighResolution_257731201_258336001_4FGL_J1637.7+7326_weekly_bin31.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2021-07-25 07:32:17.781425', job_id='782658', GAL2='0.86', fit_tolerance='1e-08', EG2='1.17', EG='1.18', time_epoch_completed='1627223537.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.38e-01', ts2='0.28', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='31' AND source_name='4FGL J1637.7+7326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 25 07:32:17 PDT 2021

