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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin529
RA = 331.914, Dec = 0.8907
tmin = 376444801, tmax = 376704001
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='198879', job_status='RUN', time_executed='2021-09-28 05:53:09.863071', time_epoch_executed='1632833589.86' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198879

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198879/ft1_4FGL_J2207.6+0053_daily_bin529.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198879/ft1_4FGL_J2207.6+0053_daily_bin529.fits outfile=/scratch/kocevski/198879/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin529.fits ra=331.914 dec=0.8907 rad=12.0 tmin=376444801.0 tmax=376704001.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 4.47
user 4.24
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.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/198879/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin529.fits evtable="EVENTS" outfile="/scratch/kocevski/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.fits" evtable="EVENTS" scfile=/scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits sctable="SC_DATA" outfile=/scratch/kocevski/198879/ltcube_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.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/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits
.....................!
real 11.80
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.fits evtable="EVENTS" scfile=/scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits sctable="SC_DATA" expcube=/scratch/kocevski/198879/ltcube_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.fits outfile=/scratch/kocevski/198879/expmap_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.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/198879/ltcube_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.fits
.....................!
real 189.96
user 185.40
sys 4.25

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

Setting source of interest to:
4FGL J2207.6+0053 @ 331.914 0.8907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.fits scfile=/scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits outfile=/scratch/kocevski/198879/cmap_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.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.914 yref=0.8907 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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.fits scfile=/scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits outfile=/scratch/kocevski/198879/cmap_HighResolution_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.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.914 yref=0.8907 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.fits evtable="EVENTS" scfile=/scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198879/Model_4FGL_J2207.6+0053_daily_bin529.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/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.fits.....................!
real 56.94
user 55.65
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.fits', '/scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits', expMap='/scratch/kocevski/198879/expmap_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.fits', expCube='/scratch/kocevski/198879/ltcube_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/198879/Model_4FGL_J2207.6+0053_daily_bin529.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/198879/ft1_filtered_4FGL_J2207.6+0053_daily_bin529.fits
Spacecraft file(s): /scratch/kocevski/198879/ft2_4FGL_J2207.6+0053_daily_bin529.fits
Exposure map: /scratch/kocevski/198879/expmap_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.fits
Exposure cube: /scratch/kocevski/198879/ltcube_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/198879/Model_4FGL_J2207.6+0053_daily_bin529.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) = 5444.37811533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    21.829       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.564       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20162E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.9089       1.0000         .10000E-03   10000.    
     9 'norm      '    28.568       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5326       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .53020       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1734       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1322       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86116       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92439       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5444.354     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2635 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.623       -.11597E-06** at limit **
   2  Prefactor     21.742        52.259       -.13428E-05    .39950E-04
   3  Prefactor     .10000E-03    2.3758        .19369E-05** at limit **
   4  Prefactor     24.563        32.022       -.69810E-06   -.27491E-03
   5  Prefactor     .10003E-03    337.37        .10443E-04** at limit **
   6  Prefactor     .10000E-03    33.145        .82918E-07** at limit **
   7  Prefactor     .10000E-03    22.075       -.41273E-08** at limit **
   8  norm          2.9092        2.0712        .11046E-08    .74906E-04
   9  norm          28.569        20.728        .49912E-07    .90841E-04
  10  Prefactor     .10000E-03    3.6754       -.82260E-07** at limit **
  11  Prefactor     .10000E-03    5.8905       -.60597E-07** at limit **
  12  Prefactor     2.5222        61.455       -.16820E-06    .17959E-04
  13  Prefactor     .10000E-03    7.4688       -.45713E-07** at limit **
  14  Prefactor     .55811        21.798       -.64483E-05    .17022E-04
  15  Prefactor     1.1308        202.47        .28720E-04   -.55814E-04
  16  Prefactor     4.1324        10.092       -.11893E-05    .37955E-03
  17  Prefactor     .10000E-03    70.595        .52296E-06** at limit **
  18  Prefactor     .10000E-03    1.5828       -.82982E-07** at limit **
  19  norm          .10000E-03    2.9393       -.90858E-07** at limit **
  20  Prefactor     .10000E-03    1.8412       -.15181E-08** at limit **
  21  Prefactor     .10000E-03    40.712       -.17729E-06** at limit **
  22  Normalizat    .86130        .24377       -.72322E-06   -.93246E-04
  23  Prefactor     .92424        .12724        .33750E-06   -.35196E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.7417
  Prefactor  = 0.000100002
  Prefactor  = 24.5628
  Prefactor  = 0.000100033
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.90917
  norm       = 28.5693
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.52219
  Prefactor  = 0.0001
  Prefactor  = 0.558112
  Prefactor  = 1.13075
  Prefactor  = 4.13238
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.861301
  Prefactor  = 0.924244
 **********
 **   18 **HESSE 
 **********

 FCN=   5444.354     FROM HESSE     STATUS=OK           366 CALLS     3001 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.742        53.022        .85729E-04   -1.4775    
   3  Prefactor     .10000E-03    2.6417        .22956E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.563        32.276        .80823E-04   -1.4716    
   5  Prefactor     .10003E-03    349.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    33.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9092        2.0680        .85528E-04   -1.5367    
   9  norm          28.569        20.709        .74956E-04   -1.4638    
  10  Prefactor     .10000E-03    3.6937        .13813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.9152        .17487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5222        59.331        .25665E-03   -1.5390    
  13  Prefactor     .10000E-03    7.4761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55811        125.62        .50609E-02   -1.5559    
  15  Prefactor     1.1308        228.57        .73934E-02   -1.5495    
  16  Prefactor     4.1324        10.321        .99148E-03   -1.5301    
  17  Prefactor     .10000E-03    73.295        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.5914        .90695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.9897        .12346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.8414        .97782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    40.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .86130        .28954        .32637E-03   -.97834    
  23  Prefactor     .92424        .15414        .17853E-03   -.95299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93803e-09
Minuit parameter uncertainties:
  1  6.54148e-05
  2  53.1368
  3  0.000149699
  4  32.2993
  5  0.00686148
  6  8.86176e-05
  7  1.42839e-05
  8  2.06807
  9  20.7142
  10  1.00898e-05
  11  8.51032e-06
  12  24.4926
  13  3.97461e-06
  14  16.7809
  15  32.2774
  16  10.3258
  17  0.000410552
  18  1.95956e-06
  19  6.08735e-06
  20  3.59946e-07
  21  0.000176466
  22  0.290067
  23  0.154208
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  5.581e-01  1.678e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.242e-01  1.542e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  8.613e-01  2.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/198879/likelihoodResults_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.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) = 5444.350152
delta logL = 0.00343761149179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5444.34029214
delta logL = 0.0132974753888

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5444.340     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      243 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6658        584.00        .53150E-02    .14379E-03
   2  Index         2.1018        2.2930        .50000        .14829E-04
   3  Normalizat    .86183        .24166E-01    .73729E-01    .10924E-04
   4  Prefactor     .92228        .13667E-01    .45287E-01   -.14861E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66583
  Index      = 2.10176
  Normalizat = 0.861828
  Prefactor  = 0.922284
 **********
 **   18 **HESSE 
 **********

 FCN=   5444.340     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6658        37.256        .21260E-03   -1.5325    
   2  Index         2.1018        1.6793        .10294E-01   -.61830    
   3  Normalizat    .86183        .26774        .32628E-03   -.97815    
   4  Prefactor     .92228        .15295        .17871E-03   -.95367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61424e-10
Minuit parameter uncertainties:
  1  23.3914
  2  1.7309
  3  0.268157
  4  0.153024
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198879': 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) = 5444.34028584
delta logL = 0.0133037719206

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  3.666e+00  2.339e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.102e+00  1.731e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.223e-01  1.530e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  8.618e-01  2.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 331.914 0.891

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/198879/cmap_HighResolution_376444801_376704001_4FGL_J2207.6+0053_daily_bin529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.58e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-28 06:03:42.036387', job_id='198879', GAL2='0.92', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632834222.04', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.33e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='529' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:03:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 198879: <4FGL_J2207.6+0053_daily_bin529> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin529> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:51:09 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:51:11 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:51:11 2021
Terminated at Tue Sep 28 06:03:42 2021
Results reported at Tue Sep 28 06:03:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin529 331.914 0.8907 376444801 376704001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.6+0053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            753 sec.

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

