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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1627
RA = 330.872, Dec = 17.4318
tmin = 661046401, tmax = 661305601
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='250952', job_status='RUN', time_executed='2021-12-16 00:37:51.676272', time_epoch_executed='1639643871.68' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250952

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250952/ft1_4FGL_J2203.4+1725_daily_bin1627.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250952/ft1_4FGL_J2203.4+1725_daily_bin1627.fits outfile=/scratch/kocevski/250952/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1627.fits ra=330.872 dec=17.4318 rad=12.0 tmin=661046401.0 tmax=661305601.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.35
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.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/250952/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1627.fits evtable="EVENTS" outfile="/scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.fits" evtable="EVENTS" scfile=/scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits sctable="SC_DATA" outfile=/scratch/kocevski/250952/ltcube_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.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/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits
.....................!
real 12.15
user 11.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits sctable="SC_DATA" expcube=/scratch/kocevski/250952/ltcube_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.fits outfile=/scratch/kocevski/250952/expmap_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.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/250952/ltcube_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.fits
.....................!
real 191.28
user 186.05
sys 4.81

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 162 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2203.4+1725 @ 330.872 17.4318

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.fits scfile=/scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits outfile=/scratch/kocevski/250952/cmap_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.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=330.872 yref=17.4318 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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.fits scfile=/scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits outfile=/scratch/kocevski/250952/cmap_HighResolution_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.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=330.872 yref=17.4318 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250952/Model_4FGL_J2203.4+1725_daily_bin1627.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.fits.....................!
real 129.32
user 127.83
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.fits', '/scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits', expMap='/scratch/kocevski/250952/expmap_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.fits', expCube='/scratch/kocevski/250952/ltcube_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/250952/Model_4FGL_J2203.4+1725_daily_bin1627.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2203.4+1725'

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.262e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.231e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/250952/ft1_filtered_4FGL_J2203.4+1725_daily_bin1627.fits
Spacecraft file(s): /scratch/kocevski/250952/ft2_4FGL_J2203.4+1725_daily_bin1627.fits
Exposure map: /scratch/kocevski/250952/expmap_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.fits
Exposure cube: /scratch/kocevski/250952/ltcube_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/250952/Model_4FGL_J2203.4+1725_daily_bin1627.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) = 8148.59716158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    3.7552       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8289       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0419       1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.038       1.0000         .10000E-03   10000.    
     6 'norm      '    .37248E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0701       1.0000         .10000E-03   10000.    
     9 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.276       1.0000         .10000E-03   10000.    
    12 'norm      '    .72585       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.884       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.3749       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .26859       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.166       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5491       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .84831E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.6851       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.1078       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8148.586     FROM MIGRAD    STATUS=CONVERGED    615 CALLS     2963 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.793       -.29402E-07** at limit **
   2  norm          3.7541        3.7793        .17457E-06    .31868E-04
   3  Prefactor     5.8264        6.3915        .19412E-06   -.75139E-04
   4  Prefactor     1.0361        4.8256        .71367E-06   -.28603E-03
   5  Prefactor     45.010        60.276        .10333E-07   -.23221E-04
   6  norm          .10000E-03    .94764       -.17668E-06** at limit **
   7  Prefactor     .10000E-03    21.875       -.32751E-07** at limit **
   8  norm          2.0690        2.0742        .21010E-06    .40900E-04
   9  norm          .10000E-03    15.621       -.59532E-07** at limit **
  10  Prefactor     .10000E-03    7.6756       -.11353E-06** at limit **
  11  Prefactor     16.268        34.641       -.26973E-07   -.25865E-04
  12  norm          .72569        .93753        .87577E-07    .11354E-03
  13  Prefactor     29.865        31.866        .33799E-06    .41863E-04
  14  Prefactor     .10000E-03    5.3044        .19543E-06** at limit **
  15  norm          1.3743        3.9261        .14604E-05    .10750E-03
  16  Prefactor     .35096E-01    10.725       -.70293E-06   -.34783E-04
  17  Prefactor     14.238        129.35        .18994E-05    .20481E-04
  18  Prefactor     4.5406        10.863        .53560E-06    .11267E-04
  19  Prefactor     .85514E-01    .16547        .21495E-06    .12084E-02
  20  Prefactor     .10000E-03    2.6696       -.40700E-07** at limit **
  21  norm          1.6849        1.3045       -.86366E-08   -.53248E-05
  22  Prefactor     .10000E-03    6.3824       -.13493E-07** at limit **
  23  Prefactor     8.1058        8.5233        .35029E-07   -.44929E-06
  24  Normalizat    1.1166        .25069       -.23922E-05    .51677E-04
  25  Prefactor     .89133        .11091        .10372E-05   -.13598E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.75412
  Prefactor  = 5.82641
  Prefactor  = 1.03615
  Prefactor  = 45.0099
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.06902
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.2685
  norm       = 0.725687
  Prefactor  = 29.8652
  Prefactor  = 0.0001
  norm       = 1.37432
  Prefactor  = 0.0350962
  Prefactor  = 14.2383
  Prefactor  = 4.54064
  Prefactor  = 0.0855142
  Prefactor  = 0.0001
  norm       = 1.68494
  Prefactor  = 0.0001
  Prefactor  = 8.10576
  Normalizat = 1.11662
  Prefactor  = 0.891335
 **********
 **   18 **HESSE 
 **********

 FCN=   8148.586     FROM HESSE     STATUS=OK           447 CALLS     3410 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7541        3.7767        .16974E-03   -1.5320    
   3  Prefactor     5.8264        6.3737        .16635E-03   -1.5225    
   4  Prefactor     1.0361        16.211        .33237E-02   -1.5504    
   5  Prefactor     45.010        60.254        .29871E-03   -1.4365    
   6  norm          .10000E-03    6.2274        .16277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0690        2.0590        .12458E-03   -1.5420    
   9  norm          .10000E-03    15.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.6920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.268        34.664        .99277E-04   -1.4901    
  12  norm          .72569        .85768        .93289E-03   -1.5538    
  13  Prefactor     29.865        31.872        .73292E-04   -1.4614    
  14  Prefactor     .10000E-03    5.3132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3743        3.8996        .29076E-03   -1.5474    
  16  Prefactor     .35096E-01    17.269        .75375E-01   -1.5671    
  17  Prefactor     14.238        129.14        .10642E-03   -1.4953    
  18  Prefactor     4.5406        10.836        .18874E-03   -1.5282    
  19  Prefactor     .85514E-01    .16837        .45750E-04   -1.5650    
  20  Prefactor     .10000E-03    2.6783        .14405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.6849        1.3091        .87879E-04   -1.5448    
  22  Prefactor     .10000E-03    6.3837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.1058        8.5240        .14081E-03   -1.5138    
  24  Normalizat    1.1166        .28232        .34038E-03   -.89220    
  25  Prefactor     .89133        .12743        .18226E-03   -.96445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34209e-10
Minuit parameter uncertainties:
  1  4.31252e-06
  2  3.77697
  3  6.3744
  4  8.19916
  5  60.3362
  6  0.000158844
  7  9.38242e-06
  8  2.05902
  9  9.41297e-07
  10  1.52718e-06
  11  34.7069
  12  0.857696
  13  31.8901
  14  3.44885e-06
  15  3.90036
  16  1.55526
  17  86.0079
  18  10.8404
  19  0.168367
  20  3.79725e-06
  21  1.30909
  22  1.35642e-06
  23  8.52523
  24  0.282699
  25  0.127474
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  7.257e-01  8.577e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.231e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.913e-01  1.275e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.117e+00  2.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.99
Ra Dec: 330.872 17.432
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250952/likelihoodResults_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.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) = 8148.58420484
delta logL = 0.00173819896554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8148.58358114
delta logL = 0.00236190372652

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8148.584     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71003        14.893        .19474E-01    .17008E-02
   2  alpha         2.4065        2.5169        .41190        .31951E-04
   3  Normalizat    1.1084        .45789E-01    .77155E-01    .15670E-04
   4  Prefactor     .89403        .21735E-01    .44928E-01   -.56788E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.710028
  alpha      = 2.40649
  Normalizat = 1.10841
  Prefactor  = 0.894031
 **********
 **   18 **HESSE 
 **********

 FCN=   8148.584     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71003        1.5765        .88622E-03   -1.5539    
   2  alpha         2.4065        3.6682        .35032E-01   -.37412E-01
   3  Normalizat    1.1084        .32311        .34151E-03   -.89482    
   4  Prefactor     .89403        .14335        .18202E-03   -.96350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02728e-11
Minuit parameter uncertainties:
  1  1.57655
  2  4.42374
  3  0.323685
  4  0.143413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250952': 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) = 8148.58358082
delta logL = 0.00236222455896

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  7.100e-01  1.577e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.406e+00  4.424e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.940e-01  1.434e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.108e+00  3.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.00
Ra Dec: 330.872 17.432
Photon Index (Free Index): 2.41 +/- 4.42
Photon Flux (Free Index): 3.33e-08 +/- 9.91e-08
Energy Flux (Free Index): 1.03e-05 +/- 2.10e-05

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/250952/cmap_HighResolution_661046401_661305601_4FGL_J2203.4+1725_daily_bin1627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-05', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='2.36e-03', photon_flux2='3.33e-08', job_status='DONE', time_completed='2021-12-16 00:52:11.071055', photon_index_error2='4.42', photon_index2='2.41', ts='0.99', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='2.10e-05', EG='1.12', time_epoch_completed='1639644731.07', return_code='0', job_id='250952', GAL2='0.89', EG2='1.11', return_code2='0', photon_flux_error2='9.91e-08', ts2='1.00', photon_index='2.23' WHERE bin_id='1627' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 16 00:52:11 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 250952: <4FGL_J2203.4+1725_daily_bin1627> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1627> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Dec 16 00:35:41 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 16 00:35:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 16 00:35:43 2021
Terminated at Thu Dec 16 00:52:11 2021
Results reported at Thu Dec 16 00:52:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1627 330.872 17.4318 661046401 661305601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2203.4+1725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   860.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            990 sec.

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

