aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 200 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0203.6+7233_monthly_bin174
RA = 30.9114, Dec = 72.553
tmin = 688003201, tmax = 690595201
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='837444', job_status='RUN', time_executed='2022-11-20 00:56:51.706884', time_epoch_executed='1668934611.71' WHERE source_name='4FGL J0203.6+7233' and cadence='monthly' and bin_id='174'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837444

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837444/ft1_4FGL_J0203.6+7233_monthly_bin174.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837444/ft1_4FGL_J0203.6+7233_monthly_bin174.fits outfile=/scratch/kocevski/837444/ft1_filteredMKT_4FGL_J0203.6+7233_monthly_bin174.fits ra=30.9114 dec=72.553 rad=12.0 tmin=688003201.0 tmax=690595201.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 31.87
user 30.89
sys 0.74

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.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/837444/ft1_filteredMKT_4FGL_J0203.6+7233_monthly_bin174.fits evtable="EVENTS" outfile="/scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.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.89
user 0.68
sys 0.19

Number of photons that the gtmktime cut: 34299

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.fits" evtable="EVENTS" scfile=/scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits sctable="SC_DATA" outfile=/scratch/kocevski/837444/ltcube_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.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/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits
.....................!
real 120.92
user 119.59
sys 0.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits sctable="SC_DATA" expcube=/scratch/kocevski/837444/ltcube_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.fits outfile=/scratch/kocevski/837444/expmap_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.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/837444/ltcube_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.fits
.....................!
real 192.70
user 186.17
sys 5.78

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 HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 194 point sources and 3 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 J0203.6+7233 @ 30.9114 72.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.fits scfile=/scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits outfile=/scratch/kocevski/837444/cmap_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.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=30.9114 yref=72.553 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.87
user 0.68
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.fits scfile=/scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits outfile=/scratch/kocevski/837444/cmap_HighResolution_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.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=30.9114 yref=72.553 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.86
user 0.67
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837444/Model_4FGL_J0203.6+7233_monthly_bin174.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 FHES J2208.4+6443
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.fits.....................!
real 4433.95
user 4421.94
sys 3.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.fits', '/scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits', expMap='/scratch/kocevski/837444/expmap_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.fits', expCube='/scratch/kocevski/837444/ltcube_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/837444/Model_4FGL_J0203.6+7233_monthly_bin174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0203.6+7233'

4FGL J0203.6+7233
   Spectrum: PowerLaw
191    Prefactor:  7.430e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
192        Index:  2.262e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
193        Scale:  2.574e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/837444/ft1_filtered_4FGL_J0203.6+7233_monthly_bin174.fits
Spacecraft file(s): /scratch/kocevski/837444/ft2_4FGL_J0203.6+7233_monthly_bin174.fits
Exposure map: /scratch/kocevski/837444/expmap_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.fits
Exposure cube: /scratch/kocevski/837444/ltcube_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/837444/Model_4FGL_J0203.6+7233_monthly_bin174.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) = 322831.824932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38031       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25679E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .53846E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.031       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2641       1.0000         .10000E-03   10000.    
     6 'norm      '    .23302E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2793       1.0000          .0000       .10000E+07
     8 'Prefactor '    .63685E-04   1.0000          .0000       .10000E+07
     9 'norm      '    4.8228       1.0000          .0000       .10000E+07
    10 'norm      '    8.6962       1.0000          .0000       .10000E+07
    11 'norm      '    .14744E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .44953E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .39357E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15190       1.0000          .0000       .10000E+07
    15 'Prefactor '    .66489E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .43299E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    .92896       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   322830.8     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1120 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38012        .70628        .92842E-07   -.64184E-02
   2  Prefactor     .11102E-09    .82275        .16162E-06** at limit **
   3  norm          .11102E-09    1.3228        .12137E-06** at limit **
   4  Prefactor     13.034        6.7513        .40958E-07   -.68325E-03
   5  Prefactor     1.2639        .24814       -.39780E-07   -.69665E-03
   6  norm           .0000        .56755       -.83322E-10** at limit **
   7  Prefactor     2.2794        .85418       -.65125E-07    .12835E-01
   8  Prefactor     .55511E-10    6.5325        .18292E-06** at limit **
   9  norm          4.8228        .24370       -.38948E-08   -.37564E-01
  10  norm          8.6935        2.4431       -.45116E-07   -.37469E-02
  11  norm           .0000        .63242        .19737E-06** at limit **
  12  Prefactor     .94369E-09    44.317        .17907E-08** at limit **
  13  Prefactor     .55511E-10    .20276        .16699E-06** at limit **
  14  Prefactor     .15070        2.8877       -.25389E-06** at limit **
  15  Prefactor      .0000        9.3407        .29529E-06** at limit **
  16  Prefactor     .55511E-10    .95965        .23555E-06** at limit **
  17  Normalizat    .92902        .71113E-01    .12299E-05   -.13669E-03
  18  Prefactor     1.0246        .99304E-02    .67217E-06   -.28910E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.380122
  Prefactor  = 1.11022e-10
  norm       = 1.11022e-10
  Prefactor  = 13.0342
  Prefactor  = 1.26388
  norm       = 0
  Prefactor  = 2.27937
  Prefactor  = 5.55112e-11
  norm       = 4.82281
  norm       = 8.69353
  norm       = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 0.150697
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.929016
  Prefactor  = 1.02455
 **********
 **   18 **HESSE 
 **********

 FCN=   322830.8     FROM HESSE     STATUS=OK           298 CALLS     1418 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38012        .38363        .53416E-02   -1.5696    
   2  Prefactor     .11102E-09    .82859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    .11349        .10738E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.034        6.8214        .27723E-03   -1.5636    
   5  Prefactor     1.2639        .25235        .99092E-02   -1.5483    
   6  norm           .0000        .57317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2794        .87111        .67982E-03   -1.5678    
   8  Prefactor     .55511E-10    6.3738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8228        .24432        .45785E-03   -1.5664    
  10  norm          8.6935        2.4350        .33967E-03   -1.5649    
  11  norm           .0000        .62480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .94369E-09    44.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    .20353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .15070        .35214        .12703E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        9.3394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    .96384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .92902        .76129E-01    .20381       -.95448    
  18  Prefactor     1.0246        .10080E-01    .27768E-01   -.91916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04813e-07
Minuit parameter uncertainties:
  1  0.383626
  2  1.75673e-05
  3  7.8148e-06
  4  6.82143
  5  0.252353
  6  6.39582e-07
  7  0.871105
  8  4.41657e-05
  9  0.24432
  10  2.43496
  11  2.78865e-06
  12  0.000412328
  13  6.12666e-06
  14  0.352145
  15  2.56988e-06
  16  1.10418e-05
  17  0.0761381
  18  0.0100798
Done.

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

Extracting fit parameters...

4FGL J0203.6+7233
   Spectrum: PowerLaw
191    Prefactor:  1.303e+01  6.821e+00  0.000e+00  1.000e+06 ( 1.000e-14)
192        Index:  2.262e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
193        Scale:  2.574e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
651    Prefactor:  1.025e+00  1.008e-02  0.000e+00  1.000e+01 ( 1.000e+00)
652        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
653        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
646   Normalization:  9.290e-01  7.614e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.60
Ra Dec: 30.911 72.553
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 1.60e-08 +/- 8.38e-09
Energy Flux (Fixed Index): 6.45e-06 +/- 3.38e-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) = 322829.29713
delta logL = 1.48008321115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 322829.283514
delta logL = 1.49369940825

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.910       1.0000          .0000       .10000E+07
     2 'Index     '    1.5734       1.0000          .0000       10.000    
     3 'Normalizat'    .93515       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0247       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   322829.3     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      276 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.913        44.281        .24329E-03   -.73749E-02
   2  Index         1.5738        .33687        .50000        .48024E-04
   3  Normalizat    .93515        .10935E-01    .20325        .21586E-02
   4  Prefactor     1.0247        .14940E-02    .27766E-01   -.67783E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9127
  Index      = 1.57384
  Normalizat = 0.93515
  Prefactor  = 1.0247
 **********
 **   18 **HESSE 
 **********

 FCN=   322829.3     FROM HESSE     STATUS=OK            31 CALLS      307 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.913        9.6370        .97317E-05   -1.5626    
   2  Index         1.5738        .39161        .10733E-01   -.75492    
   3  Normalizat    .93515        .68512E-01    .90637E-03   -.95236    
   4  Prefactor     1.0247        .98088E-02    .12271E-03   -.91911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92312e-10
Minuit parameter uncertainties:
  1  9.63701
  2  0.392366
  3  0.0685181
  4  0.00980884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837444': 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) = 322829.283513
delta logL = 1.49369993235

Extracting fit parameters...

4FGL J0203.6+7233
   Spectrum: PowerLaw
191    Prefactor:  1.691e+01  9.637e+00  0.000e+00  1.000e+06 ( 1.000e-14)
192        Index:  1.574e+00  3.924e-01  0.000e+00  1.000e+01 (-1.000e+00)
193        Scale:  2.574e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
651    Prefactor:  1.025e+00  9.809e-03  0.000e+00  1.000e+01 ( 1.000e+00)
652        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
653        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
646   Normalization:  9.352e-01  6.852e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.54
Ra Dec: 30.911 72.553
Photon Index (Free Index): 1.57 +/- 0.39
Photon Flux (Free Index): 4.80e-09 +/- 4.66e-09
Energy Flux (Free Index): 1.18e-05 +/- 8.83e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -4.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  4.440e+00 [aplpy.core]
Saving /scratch/kocevski/837444/cmap_HighResolution_688003201_690595201_4FGL_J0203.6+7233_monthly_bin174.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.60e-08', energy_flux2='1.18e-05', photon_flux_error='8.38e-09', dlogl='1.49e+00', energy_flux='6.45e-06', photon_flux2='4.80e-09', job_status='DONE', time_completed='2022-11-20 04:52:57.535015', photon_index_error2='0.39', photon_index2='1.57', ts='10.60', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='8.83e-06', EG='0.93', time_epoch_completed='1668948777.54', return_code='0', job_id='837444', GAL2='1.02', EG2='0.94', return_code2='0', energy_flux_error='3.38e-06', photon_flux_error2='4.66e-09', ts2='13.54', photon_index='2.26' WHERE bin_id='174' AND source_name='4FGL J0203.6+7233' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Nov 20 04:52:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 837444: <4FGL_J0203.6+7233_monthly_bin174> in cluster <slac> Done

Job <4FGL_J0203.6+7233_monthly_bin174> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Nov 20 00:50:35 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:53:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:53:21 2022
Terminated at Sun Nov 20 04:52:59 2022
Results reported at Sun Nov 20 04:52:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0203.6+7233_monthly_bin174 30.9114 72.553 688003201 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0203.6+7233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   14123.00 sec.
    Max Memory :                                 882 MB
    Average Memory :                             763.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   14378 sec.
    Turnaround time :                            14544 sec.

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

