/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 = 7371
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1422
RA = 331.892, Dec = -53.7719
tmin = 607910401, tmax = 608169601
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='195656', job_status='RUN', time_executed='2021-09-28 05:43:49.916638', time_epoch_executed='1632833029.92' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1422'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195656

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195656/ft1_4FGL_J2207.5-5346_daily_bin1422.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195656/ft1_4FGL_J2207.5-5346_daily_bin1422.fits outfile=/scratch/kocevski/195656/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1422.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=607910401.0 tmax=608169601.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.60
user 3.29
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.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/195656/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1422.fits evtable="EVENTS" outfile="/scratch/kocevski/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.fits" evtable="EVENTS" scfile=/scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits sctable="SC_DATA" outfile=/scratch/kocevski/195656/ltcube_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.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/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits
.....................!
real 12.20
user 11.74
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.fits evtable="EVENTS" scfile=/scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits sctable="SC_DATA" expcube=/scratch/kocevski/195656/ltcube_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.fits outfile=/scratch/kocevski/195656/expmap_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.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/195656/ltcube_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.fits
.....................!
real 190.75
user 185.18
sys 5.19

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

Setting source of interest to:
4FGL J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.fits scfile=/scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits outfile=/scratch/kocevski/195656/cmap_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.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=331.892 yref=-53.7719 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.fits scfile=/scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits outfile=/scratch/kocevski/195656/cmap_HighResolution_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.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=331.892 yref=-53.7719 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.55
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.fits evtable="EVENTS" scfile=/scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195656/Model_4FGL_J2207.5-5346_daily_bin1422.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/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.fits.....................!
real 53.66
user 52.20
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.fits', '/scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits', expMap='/scratch/kocevski/195656/expmap_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.fits', expCube='/scratch/kocevski/195656/ltcube_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195656/Model_4FGL_J2207.5-5346_daily_bin1422.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/195656/ft1_filtered_4FGL_J2207.5-5346_daily_bin1422.fits
Spacecraft file(s): /scratch/kocevski/195656/ft2_4FGL_J2207.5-5346_daily_bin1422.fits
Exposure map: /scratch/kocevski/195656/expmap_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.fits
Exposure cube: /scratch/kocevski/195656/ltcube_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195656/Model_4FGL_J2207.5-5346_daily_bin1422.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) = 7491.42225203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9624       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.391       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .50560E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    54.252       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.5116       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.9113       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.2548       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0528       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .35310       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1897       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .60863E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75573       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1024       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+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.

 FCN=   7491.415     FROM MIGRAD    STATUS=CONVERGED    863 CALLS     2775 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9625        2.0322        .85719E-04   -.50929E-04
   2  Prefactor     .10000E-03    7.7244        .18142E-02** at limit **
   3  Prefactor     .10000E-03    22.324        .18142E-02** at limit **
   4  Prefactor     28.379        80.572        .75189E-04   -.15574E-04
   5  Prefactor     .41270E-01    6.2224        .50976E-01   -.28545E-03
   6  Prefactor     .10000E-03    24.227        .18142E-02** at limit **
   7  Prefactor     .10000E-03    1.1667        .90855E-03** at limit **
   8  norm          .10000E-03    .21810        .77622E-04** at limit **
   9  Prefactor     54.246        34.020        .54457E-04   -.25261E-04
  10  Prefactor     5.5148        6.8937        .17114E-03   -.14216E-04
  11  Prefactor     .10000E-03    .90065        .79736E-03** at limit **
  12  Prefactor     .10000E-03    36.133        .18142E-02** at limit **
  13  norm          2.9116        3.3129        .16395E-03    .41812E-04
  14  Prefactor     3.2550        2.6784        .12415E-03   -.64742E-04
  15  Prefactor     5.0533        4.2232        .77434E-03   -.42358E-03
  16  Prefactor     .32135        14.604        .95616E-01    .35167E-03
  17  Prefactor     1.1672        10.108        .41776E-03    .14649E-03
  18  Prefactor     .10000E-03    318.63        .18918E-02** at limit **
  19  Prefactor     .10000E-03    9.0515        .18142E-02** at limit **
  20  Prefactor     .10000E-03    7.2368        .18142E-02** at limit **
  21  Normalizat    .75573        .18509        .27975E-03   -.80384E-04
  22  Prefactor     1.1024        .14525        .19000E-03   -.40976E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.96247
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.3793
  Prefactor  = 0.0412697
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 54.2458
  Prefactor  = 5.51475
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.91157
  Prefactor  = 3.25504
  Prefactor  = 5.05329
  Prefactor  = 0.321353
  Prefactor  = 1.16716
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.755729
  Prefactor  = 1.10241
 **********
 **   18 **HESSE 
 **********

 FCN=   7491.415     FROM HESSE     STATUS=OK           340 CALLS     3115 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9625        2.0322        .34288E-05   -1.5310    
   2  Prefactor     .10000E-03    7.7253        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.326        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.379        80.352        .30076E-05   -1.4642    
   5  Prefactor     .41270E-01    5.6410        .54175E-01   -1.5667    
   6  Prefactor     .10000E-03    24.238        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.1668        .18171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .21810        .15524E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     54.246        34.022        .21783E-05   -1.4234    
  10  Prefactor     5.5148        6.8928        .68456E-05   -1.5238    
  11  Prefactor     .10000E-03    .90073        .15947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    36.133        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9116        3.3129        .65582E-05   -1.5367    
  14  Prefactor     3.2550        2.6783        .49659E-05   -1.5347    
  15  Prefactor     5.0533        4.2222        .30974E-04   -1.5258    
  16  Prefactor     .32135        14.248        .97525E-01   -1.5595    
  17  Prefactor     1.1672        10.095        .16710E-04   -1.5492    
  18  Prefactor     .10000E-03    318.80        .37837E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.0516        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.2420        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75573        .18520        .11190E-04   -1.0173    
  22  Prefactor     1.1024        .14537        .38000E-04   -.89390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03553e-09
Minuit parameter uncertainties:
  1  2.03224
  2  5.71232e-06
  3  3.30395e-05
  4  80.6606
  5  0.963918
  6  5.2844e-05
  7  1.64229e-07
  8  1.26839e-06
  9  34.0344
  10  6.89383
  11  3.43825e-08
  12  7.16456e-05
  13  3.31306
  14  2.67843
  15  4.22245
  16  4.27995
  17  6.86649
  18  0.00152838
  19  8.35451e-06
  20  6.01995e-07
  21  0.185357
  22  0.145419
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  3.438e-08  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.102e+00  1.454e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  7.557e-01  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 3.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195656/likelihoodResults_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.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) = 7491.42048343
delta logL = -0.00521717169249

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7491.41526551
delta logL = 7.4869421951e-07

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 'Index     '    2.4174       1.0000          .0000       10.000    
     3 'Normalizat'    .75573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1024       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7491.415     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      217 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.8460        .90712E-02** at limit **
   2  Index         1.9555        9.0007        .50000       -.63483E-07
   3  Normalizat    .75573        .97956E-02    .63240E-01    .25794E-04
   4  Prefactor     1.1024        .79357E-02    .37496E-01    .23456E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95551
  Normalizat = 0.75573
  Prefactor  = 1.10241
 **********
 **   18 **HESSE 
 **********

 FCN=   7491.415     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      250 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.889        .88245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9555        8.1299        .50000       -.65467    
   3  Normalizat    .75573        .33106E-01    .27975E-03   -1.0173    
   4  Prefactor     1.1024        .26860E-01    .19000E-03   -.89390    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.8131e-10
Minuit parameter uncertainties:
  1  5.24539e-05
  2  443.205
  3  0.033107
  4  0.0268602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195656': 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) = 7491.41525622
delta logL = 1.00314664451e-05

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  5.245e-05  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.956e+00  4.432e+02  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.102e+00  2.686e-02  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  7.557e-01  3.311e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.892 -53.772

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/195656/cmap_HighResolution_607910401_608169601_4FGL_J2207.5-5346_daily_bin1422.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.92e-08', time_completed='2021-09-28 05:56:23.933626', job_id='195656', GAL2='1.10', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1632833783.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.00e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1422' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:56:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 195656: <4FGL_J2207.5-5346_daily_bin1422> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1422> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:41:00 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:41:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:41:01 2021
Terminated at Tue Sep 28 05:56:24 2021
Results reported at Tue Sep 28 05:56:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1422 331.892 -53.7719 607910401 608169601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            924 sec.

The output (if any) is above this job summary.

