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


Performing analysis on: 4FGL_J0045.1-3706_daily_bin1673
RA = 11.2936, Dec = -37.1065
tmin = 672969601, tmax = 673228801
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='350808', job_status='RUN', time_executed='2022-05-03 00:08:24.656159', time_epoch_executed='1651561704.66' WHERE source_name='4FGL J0045.1-3706' and cadence='daily' and bin_id='1673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350808

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350808/ft1_4FGL_J0045.1-3706_daily_bin1673.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350808/ft1_4FGL_J0045.1-3706_daily_bin1673.fits outfile=/scratch/kocevski/350808/ft1_filteredMKT_4FGL_J0045.1-3706_daily_bin1673.fits ra=11.2936 dec=-37.1065 rad=12.0 tmin=672969601.0 tmax=673228801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.97
user 2.72
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.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/350808/ft1_filteredMKT_4FGL_J0045.1-3706_daily_bin1673.fits evtable="EVENTS" outfile="/scratch/kocevski/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 629

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.fits" evtable="EVENTS" scfile=/scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits sctable="SC_DATA" outfile=/scratch/kocevski/350808/ltcube_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.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/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits
.....................!
real 15.61
user 15.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits sctable="SC_DATA" expcube=/scratch/kocevski/350808/ltcube_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.fits outfile=/scratch/kocevski/350808/expmap_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.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/350808/ltcube_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.fits
.....................!
real 191.77
user 186.11
sys 5.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 196 point sources and 0 extended sources

Setting source of interest to:
4FGL J0045.1-3706 @ 11.2936 -37.1065

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.fits scfile=/scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits outfile=/scratch/kocevski/350808/cmap_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.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=11.2936 yref=-37.1065 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.fits scfile=/scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits outfile=/scratch/kocevski/350808/cmap_HighResolution_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.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=11.2936 yref=-37.1065 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/350808/Model_4FGL_J0045.1-3706_daily_bin1673.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/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.fits.....................!
real 53.74
user 51.76
sys 1.67

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.fits', '/scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits', expMap='/scratch/kocevski/350808/expmap_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.fits', expCube='/scratch/kocevski/350808/ltcube_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/350808/Model_4FGL_J0045.1-3706_daily_bin1673.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0045.1-3706'

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  3.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
154        Index:  2.595e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/350808/ft1_filtered_4FGL_J0045.1-3706_daily_bin1673.fits
Spacecraft file(s): /scratch/kocevski/350808/ft2_4FGL_J0045.1-3706_daily_bin1673.fits
Exposure map: /scratch/kocevski/350808/expmap_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.fits
Exposure cube: /scratch/kocevski/350808/ltcube_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/350808/Model_4FGL_J0045.1-3706_daily_bin1673.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) = 6935.9138777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5129       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10684E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    76.374       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .71159E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    92.705       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1084       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6974       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7763       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.7143       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7833       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.3497       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0457       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6935.876     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1523 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.792       -.24100E-06** at limit **
   2  Prefactor     .10000E-03    2.2375        .37099E-07** at limit **
   3  Prefactor     .10000E-03    10.063        .10343E-06** at limit **
   4  Prefactor     .10000E-03    13.753        .21539E-06** at limit **
   5  Prefactor     4.5111        8.1505        .35446E-05   -.12121E-02
   6  Prefactor     .10000E-03    2.8365        .67196E-07** at limit **
   7  Prefactor     76.384        28.002        .25191E-05    .59713E-03
   8  Prefactor     .10000E-03    4.7346        .18980E-06** at limit **
   9  norm          92.706        36.449        .22764E-06    .54526E-04
  10  norm          1.1061        2.0890        .22763E-06    .44414E-04
  11  Prefactor     7.6985        10.330        .49271E-07   -.13972E-04
  12  Prefactor     2.7768        4.1542        .41361E-06   -.29292E-03
  13  Prefactor     .10000E-03    6.5034       -.35960E-08** at limit **
  14  Prefactor     6.7147        4.2061        .16032E-06    .29720E-04
  15  Prefactor     2.7833        5.4625       -.62232E-06   -.35976E-03
  16  Prefactor     8.3630        34.362        .12240E-04    .22143E-03
  17  Normalizat    1.0458        .17038       -.18787E-05   -.13631E-04
  18  Prefactor     1.1133        .18793        .28856E-07   -.12228E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.51108
  Prefactor  = 0.0001
  Prefactor  = 76.3838
  Prefactor  = 0.000100003
  norm       = 92.7059
  norm       = 1.10608
  Prefactor  = 7.69854
  Prefactor  = 2.77681
  Prefactor  = 0.0001
  Prefactor  = 6.71469
  Prefactor  = 2.78331
  Prefactor  = 8.36304
  Normalizat = 1.04577
  Prefactor  = 1.1133
 **********
 **   18 **HESSE 
 **********

 FCN=   6935.876     FROM HESSE     STATUS=OK           248 CALLS     1771 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.4600        .23885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5111        10.222        .94759E-03   -1.5283    
   6  Prefactor     .10000E-03    2.8797        .13673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     76.384        28.409        .45947E-04   -1.3958    
   8  Prefactor     .10000E-03    57.951        .34152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          92.706        36.455        .41739E-04   -1.3779    
  10  norm          1.1061        1.6938        .16127E-02   -1.5498    
  11  Prefactor     7.6985        10.327        .14454E-03   -1.5153    
  12  Prefactor     2.7768        4.1635        .19380E-03   -1.5375    
  13  Prefactor     .10000E-03    6.5131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7147        4.2035        .13117E-03   -1.5190    
  15  Prefactor     2.7833        5.5461        .24391E-03   -1.5374    
  16  Prefactor     8.3630        37.147        .13874E-03   -1.5130    
  17  Normalizat    1.0458        .19906        .23806E-03   -.91513    
  18  Prefactor     1.1133        .22379        .27161E-03   -.89043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10917e-09
Minuit parameter uncertainties:
  1  2.46099e-05
  2  0.000107896
  3  2.50255e-06
  4  2.11803e-05
  5  10.2258
  6  2.69094e-05
  7  28.4137
  8  0.000770632
  9  36.4634
  10  1.69392
  11  10.329
  12  4.16389
  13  2.30833e-06
  14  4.20367
  15  5.54714
  16  35.2876
  17  0.199204
  18  0.223982
Done.

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

Extracting fit parameters...

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  1.000e-04  7.706e-04  1.000e-04  1.000e+04 ( 1.000e-12)
154        Index:  2.595e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  1.113e+00  2.240e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.046e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 11.294 -37.106
Photon Flux Upper Limit: 8.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350808/likelihoodResults_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.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) = 6935.87626375
delta logL = -8.09945968285e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6935.87612265
delta logL = 6.01080337219e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36585E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7564       1.0000          .0000       10.000    
     3 'Normalizat'    1.0458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6935.426     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      269 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70070        14.036        .98014E-02    .11937E-02
   2  Index         4.7351        3.8022        .22727        .86448E-04
   3  Normalizat    .99472        .33503E-01    .40849E-01   -.43566E-04
   4  Prefactor     1.1492        .39523E-01    .60568E-01   -.16289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.700697
  Index      = 4.73513
  Normalizat = 0.994716
  Prefactor  = 1.14924
 **********
 **   18 **HESSE 
 **********

 FCN=   6935.426     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70070        47.152        .78058E-04   -1.5541    
   2  Index         4.7351        6.7451        .90158E-02   -.52999E-01
   3  Normalizat    .99472        .17598        .24327E-03   -.93208    
   4  Prefactor     1.1492        .19955        .26786E-03   -.87908    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.09621e-07
Minuit parameter uncertainties:
  1  11.5046
  2  11.1792
  3  0.17608
  4  0.199676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350808': 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) = 6935.42580501
delta logL = 0.450377746515

Extracting fit parameters...

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  7.007e-01  1.150e+01  1.000e-04  1.000e+04 ( 1.000e-12)
154        Index:  4.735e+00  1.118e+01  0.000e+00  1.000e+01 (-1.000e+00)
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  1.149e+00  1.997e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  9.947e-01  1.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 11.294 -37.106

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/350808/cmap_HighResolution_672969601_673228801_4FGL_J0045.1-3706_daily_bin1673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.43e-08', time_completed='2022-05-03 00:18:34.211686', job_id='350808', GAL2='1.15', fit_tolerance='1e-08', EG2='0.99', EG='1.05', time_epoch_completed='1651562314.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.50e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1673' AND source_name='4FGL J0045.1-3706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May  3 00:18:34 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 350809: <4FGL_J0045.1-3706_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0045.1-3706_daily_bin1673> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue May  3 00:05:22 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:06:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:06:06 2022
Terminated at Tue May  3 00:17:26 2022
Results reported at Tue May  3 00:17:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.1-3706_daily_bin1673 11.2936 -37.1065 672969601 673228801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.1-3706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   607.32 sec.
    Max Memory :                                 783 MB
    Average Memory :                             318.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            724 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 350808: <4FGL_J0045.1-3706_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0045.1-3706_daily_bin1673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May  3 00:05:22 2022
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:06:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:06:05 2022
Terminated at Tue May  3 00:18:35 2022
Results reported at Tue May  3 00:18:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.1-3706_daily_bin1673 11.2936 -37.1065 672969601 673228801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.1-3706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   605.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            793 sec.

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

