Sender: LSF System <lsf@bullet0192>
Subject: Job 676235: <4FGL_J1748.0+3403_weekly_bin9> in cluster <slac> Done

Job <4FGL_J1748.0+3403_weekly_bin9> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jul 27 13:55:39 2021
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 27 13:58:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 27 13:58:51 2021
Terminated at Tue Jul 27 14:30:27 2021
Results reported at Tue Jul 27 14:30:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1748.0+3403_weekly_bin9 267.011 34.0641 244425601 245030401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1748.0+3403 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1675.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             327.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1895 sec.
    Turnaround time :                            2088 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 205 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 = 17115
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1748.0+3403_weekly_bin9
RA = 267.011, Dec = 34.0641
tmin = 244425601, tmax = 245030401
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='676235', job_status='RUN', time_executed='2021-07-27 14:02:25.969106', time_epoch_executed='1627419745.97' WHERE source_name='4FGL J1748.0+3403' and cadence='weekly' and bin_id='9'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676235

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676235/ft1_4FGL_J1748.0+3403_weekly_bin9.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676235/ft1_4FGL_J1748.0+3403_weekly_bin9.fits outfile=/scratch/kocevski/676235/ft1_filteredMKT_4FGL_J1748.0+3403_weekly_bin9.fits ra=267.011 dec=34.0641 rad=12.0 tmin=244425601.0 tmax=245030401.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 2.80
user 2.52
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.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/676235/ft1_filteredMKT_4FGL_J1748.0+3403_weekly_bin9.fits evtable="EVENTS" outfile="/scratch/kocevski/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.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.62
user 0.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.fits" evtable="EVENTS" scfile=/scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits sctable="SC_DATA" outfile=/scratch/kocevski/676235/ltcube_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.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/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits
.....................!
real 36.15
user 35.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits sctable="SC_DATA" expcube=/scratch/kocevski/676235/ltcube_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.fits outfile=/scratch/kocevski/676235/expmap_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.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/676235/ltcube_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.fits
.....................!
real 191.63
user 185.62
sys 5.33

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

Setting source of interest to:
4FGL J1748.0+3403 @ 267.011 34.0641

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.fits scfile=/scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits outfile=/scratch/kocevski/676235/cmap_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.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=267.011 yref=34.0641 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.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.fits scfile=/scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits outfile=/scratch/kocevski/676235/cmap_HighResolution_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.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=267.011 yref=34.0641 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.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/676235/Model_4FGL_J1748.0+3403_weekly_bin9.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/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.fits.....................!
real 161.96
user 160.31
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.fits', '/scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits', expMap='/scratch/kocevski/676235/expmap_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.fits', expCube='/scratch/kocevski/676235/ltcube_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/676235/Model_4FGL_J1748.0+3403_weekly_bin9.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1748.0+3403'

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  4.182e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.337e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/676235/ft1_filtered_4FGL_J1748.0+3403_weekly_bin9.fits
Spacecraft file(s): /scratch/kocevski/676235/ft2_4FGL_J1748.0+3403_weekly_bin9.fits
Exposure map: /scratch/kocevski/676235/expmap_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.fits
Exposure cube: /scratch/kocevski/676235/ltcube_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/676235/Model_4FGL_J1748.0+3403_weekly_bin9.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) = 22031.7758333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47329       1.0000         .10000E-03   10000.    
     2 'norm      '    6.2768       1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.331       1.0000         .10000E-03   10000.    
     4 'norm      '    5.5992       1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.383       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.496       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20684E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2096       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11142E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10851E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10702E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1987       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7588       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    10.881       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.018       1.0000         .10000E-03   10000.    
    22 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90486       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22031.75     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2759 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47254        .56712       -.30231E-06   -.65963E-02
   2  norm          6.2731        6.4511       -.16188E-05   -.30284E-03
   3  Prefactor     40.328        27.384       -.20275E-05    .11634E-04
   4  norm          5.5994        3.5560       -.16809E-05   -.74948E-03
   5  Prefactor     57.412        38.987        .23233E-04    .26618E-04
   6  Prefactor     .10000E-03    20.393       -.19911E-04** at limit **
   7  Prefactor     19.490        9.4897       -.15709E-06   -.15121E-03
   8  Prefactor     .10017E-03    8.7058       -.83402E-06** at limit **
   9  Prefactor     5.2123        5.0651        .15121E-05   -.28300E-03
  10  Prefactor     .10000E-03    8.0309        .30858E-05** at limit **
  11  Prefactor     .10000E-03    9.8913       -.10801E-04** at limit **
  12  Prefactor     .10000E-03    1.2747        .12993E-06** at limit **
  13  norm          .10000E-03    .27558        .96403E-08** at limit **
  14  norm          .10000E-03    27.481        .20772E-04** at limit **
  15  norm          .10000E-03    3.7191       -.81661E-07** at limit **
  16  Prefactor     6.1978        3.5902       -.20379E-06   -.55885E-03
  17  norm          .10000E-03    1.2148        .50334E-07** at limit **
  18  Prefactor     1.7565        1.7872       -.42800E-07   -.64144E-03
  19  Prefactor     .10000E-03    2.8002        .32305E-07** at limit **
  20  norm          10.881        10.190        .49725E-08   -.70214E-05
  21  Prefactor     11.017        5.2747       -.22880E-06   -.30812E-03
  22  norm          .10000E-03    11.991        .13413E-04** at limit **
  23  Normalizat    .90506        .12386       -.19742E-05    .16907E-03
  24  Prefactor     .97274        .60052E-01    .41953E-06   -.26431E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.472542
  norm       = 6.2731
  Prefactor  = 40.3276
  norm       = 5.59941
  Prefactor  = 57.412
  Prefactor  = 0.0001
  Prefactor  = 19.4896
  Prefactor  = 0.000100174
  Prefactor  = 5.21231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.19785
  norm       = 0.0001
  Prefactor  = 1.75648
  Prefactor  = 0.0001
  norm       = 10.8813
  Prefactor  = 11.0166
  norm       = 0.0001
  Normalizat = 0.905058
  Prefactor  = 0.972735
 **********
 **   18 **HESSE 
 **********

 FCN=   22031.75     FROM HESSE     STATUS=OK           403 CALLS     3162 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47254        .47270        .11842E-02   -1.5570    
   2  norm          6.2731        6.4153        .16022E-03   -1.5207    
   3  Prefactor     40.328        27.366        .63118E-04   -1.4437    
   4  norm          5.5994        3.5516        .16978E-03   -1.5235    
   5  Prefactor     57.412        39.009        .52958E-04   -1.4191    
   6  Prefactor     .10000E-03    20.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.490        9.4947        .90711E-04   -1.4825    
   8  Prefactor     .10017E-03    65.880        .84516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.2123        5.0532        .17612E-03   -1.5251    
  10  Prefactor     .10000E-03    8.0618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.8815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.8646        .32196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .28529        .15213E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    27.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.8302        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.1978        3.5872        .16124E-03   -1.5210    
  17  norm          .10000E-03    1.2239        .15976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.7565        1.7826        .19362E-03   -1.5443    
  19  Prefactor     .10000E-03    2.8124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.881        10.194        .12146E-03   -1.5048    
  21  Prefactor     11.017        5.2825        .12070E-03   -1.5044    
  22  norm          .10000E-03    11.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90506        .14471        .34936E-03   -.96283    
  24  Prefactor     .97274        .70699E-01    .16921E-03   -.93644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81156e-09
Minuit parameter uncertainties:
  1  0.472707
  2  6.41602
  3  27.3743
  4  3.55177
  5  39.0263
  6  1.92481e-05
  7  9.49543
  8  0.00678667
  9  5.05361
  10  1.48398e-05
  11  8.58078e-06
  12  5.04861e-05
  13  3.86224e-07
  14  1.66941e-05
  15  2.08756e-05
  16  3.58733
  17  4.9379e-07
  18  1.78261
  19  3.82547e-06
  20  10.1956
  21  5.28277
  22  5.19813e-06
  23  0.144774
  24  0.0707053
Done.

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

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.949e+01  9.495e+00  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.337e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  9.727e-01  7.071e-02  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  9.051e-01  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.17
Ra Dec: 267.011 34.064
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 4.63e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 8.07e-06

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) = 22031.4867485
delta logL = 0.262407235674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22031.4833941
delta logL = 0.265761592505

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.565       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6362       1.0000          .0000       10.000    
     3 'Normalizat'    .88872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97739       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+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=   22031.48     FROM MIGRAD    STATUS=FAILED        98 CALLS      319 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.561        12.027        .52475E-03   -.30625E-03
   2  Index         2.6357        .50071        .70833E-02    .16754E-02
   3  Normalizat    .88876        .14088        .35222E-03   -.88568E-04
   4  Prefactor     .97746        .69705E-01    .16883E-03   -.55808E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   22031.48     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      391 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.561        12.027        .13018E-03   -1.4945    
   2  Index         2.6357        .50071        .45664E-03   -.49253    
   3  Normalizat    .88876        .14088        .31797E-03   -.96856    
   4  Prefactor     .97746        .69705E-01    .11821E-03   -.93485    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22031.48     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      429 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.561        10.450        .20990E-04   -.36397E-04
   2  Index         2.6357        .43484        .14167E-02    .53928E-05
   3  Normalizat    .88876        .14068        .14089E-04   -.25821E-05
   4  Prefactor     .97746        .69651E-01    .33767E-04   -.29628E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5607
  Index      = 2.63573
  Normalizat = 0.888761
  Prefactor  = 0.977459
 **********
 **   18 **HESSE 
 **********

 FCN=   22031.48     FROM HESSE     STATUS=OK            23 CALLS      452 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.561        10.216        .41980E-05   -1.4945    
   2  Index         2.6357        .42498        .56666E-04   -.49253    
   3  Normalizat    .88876        .14063        .28178E-05   -.96856    
   4  Prefactor     .97746        .69639E-01    .67534E-05   -.93485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29516e-12
Minuit parameter uncertainties:
  1  10.2168
  2  0.425641
  3  0.140691
  4  0.0696452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676235': 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) = 22031.4833897
delta logL = 0.265766080072

Extracting fit parameters...

4FGL J1748.0+3403
   Spectrum: PowerLaw
333    Prefactor:  1.456e+01  1.022e+01  1.000e-04  1.000e+04 ( 1.000e-13)
334        Index:  2.636e+00  4.256e-01  0.000e+00  1.000e+01 (-1.000e+00)
335        Scale:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  9.775e-01  6.965e-02  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  8.888e-01  1.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.76
Ra Dec: 267.011 34.064
Photon Index (Free Index): 2.64 +/- 0.43
Photon Flux (Free Index): 5.91e-08 +/- 3.06e-08
Energy Flux (Free Index): 1.50e-05 +/- 7.02e-06

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/676235/cmap_HighResolution_244425601_245030401_4FGL_J1748.0+3403_weekly_bin9.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.63e-08', energy_flux2='1.50e-05', photon_flux_error='2.25e-08', dlogl='2.66e-01', energy_flux='1.66e-05', photon_flux2='5.91e-08', job_status='DONE', time_completed='2021-07-27 14:30:26.227528', photon_index_error2='0.43', photon_index2='2.64', ts='7.17', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='7.02e-06', EG='0.91', time_epoch_completed='1627421426.23', return_code='0', job_id='676235', GAL2='0.98', EG2='0.89', return_code2='0', energy_flux_error='8.07e-06', photon_flux_error2='3.06e-08', ts2='7.76', photon_index='2.34' WHERE bin_id='9' AND source_name='4FGL J1748.0+3403' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 27 14:30:26 PDT 2021

