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


Performing analysis on: 4FGL_J0250.2-8224_monthly_bin171
RA = 42.5732, Dec = -82.4037
tmin = 680227201, tmax = 682819201
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='54525', job_status='RUN', time_executed='2022-09-16 13:13:29.467901', time_epoch_executed='1663359209.47' WHERE source_name='4FGL J0250.2-8224' and cadence='monthly' and bin_id='171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54525

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54525/ft1_4FGL_J0250.2-8224_monthly_bin171.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54525/ft1_4FGL_J0250.2-8224_monthly_bin171.fits outfile=/scratch/kocevski/54525/ft1_filteredMKT_4FGL_J0250.2-8224_monthly_bin171.fits ra=42.5732 dec=-82.4037 rad=12.0 tmin=680227201.0 tmax=682819201.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 33.60
user 32.47
sys 0.75

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.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/54525/ft1_filteredMKT_4FGL_J0250.2-8224_monthly_bin171.fits evtable="EVENTS" outfile="/scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.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.86
user 0.66
sys 0.19

Number of photons that the gtmktime cut: 10141

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.fits" evtable="EVENTS" scfile=/scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits sctable="SC_DATA" outfile=/scratch/kocevski/54525/ltcube_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.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/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits
.....................!
real 144.76
user 142.62
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits sctable="SC_DATA" expcube=/scratch/kocevski/54525/ltcube_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.fits outfile=/scratch/kocevski/54525/expmap_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.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/54525/ltcube_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.fits
.....................!
real 194.35
user 186.76
sys 5.36

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 SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Added 177 point sources and 5 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 J0250.2-8224 @ 42.5732 -82.4037

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.fits scfile=/scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits outfile=/scratch/kocevski/54525/cmap_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.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=42.5732 yref=-82.4037 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.80
user 0.63
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.fits scfile=/scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits outfile=/scratch/kocevski/54525/cmap_HighResolution_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.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=42.5732 yref=-82.4037 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.83
user 0.61
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54525/Model_4FGL_J0250.2-8224_monthly_bin171.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.fits.....................!
real 87341.36
user 86404.84
sys 32.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.fits', '/scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits', expMap='/scratch/kocevski/54525/expmap_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.fits', expCube='/scratch/kocevski/54525/ltcube_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/54525/Model_4FGL_J0250.2-8224_monthly_bin171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0250.2-8224'

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  2.212e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
107        Index:  2.654e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
108        Scale:  5.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/54525/ft1_filtered_4FGL_J0250.2-8224_monthly_bin171.fits
Spacecraft file(s): /scratch/kocevski/54525/ft2_4FGL_J0250.2-8224_monthly_bin171.fits
Exposure map: /scratch/kocevski/54525/expmap_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.fits
Exposure cube: /scratch/kocevski/54525/ltcube_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/54525/Model_4FGL_J0250.2-8224_monthly_bin171.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) = 106314.429579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.997       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25369E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    40.820       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55848       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19540E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.168       1.0000          .0000       .10000E+07
     7 'norm      '    .51625E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .25808E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.5429       1.0000          .0000       .10000E+07
    10 'norm      '    2.2915       1.0000          .0000       .10000E+07
    11 'Prefactor '    .27539E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.374       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22215       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1856       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .97184       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   106313.5     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1022 TOTAL
                     EDM=   .55E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.026        13.767         .0000       -.63092E-01
   2  Prefactor      .0000        .66320         .0000    ** at limit **
   3  Prefactor     40.908        10.595         .0000       -.53126E-01
   4  Prefactor     .51126        13.098         .0000        .13478    
   5  Prefactor     .44409E-09    2.4918         .0000    ** at limit **
   6  Prefactor     10.131        7.2953         .0000       -.94701E-01
   7  norm          .13711E-07    2.6803         .0000    ** at limit **
   8  Prefactor      .0000        4.2426         .0000    ** at limit **
   9  Prefactor     5.5735        10.113         .0000        .51579E-02
  10  norm          2.2946        1.4198         .0000        2.2603    
  11  Prefactor     .17764E-07    3.2972         .0000    ** at limit **
  12  Prefactor     13.210        12.715         .0000        .73142E-02
  13  Prefactor     .22223        1.0804         .0000    ** at limit **
  14  Normalizat    1.1855        .59927E-01     .0000       -.15824E-04
  15  Prefactor     .97188        .24468E-01     .0000       -.75565E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0263
  Prefactor  = 0
  Prefactor  = 40.908
  Prefactor  = 0.511264
  Prefactor  = 4.44089e-10
  Prefactor  = 10.1315
  norm       = 1.37113e-08
  Prefactor  = 0
  Prefactor  = 5.57351
  norm       = 2.29462
  Prefactor  = 1.77636e-08
  Prefactor  = 13.2097
  Prefactor  = 0.222232
  Normalizat = 1.18553
  Prefactor  = 0.97188
 **********
 **   18 **HESSE 
 **********

 FCN=   106313.5     FROM HESSE     STATUS=OK           178 CALLS     1200 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.026        13.778        .76999E-05   -1.5604    
   2  Prefactor      .0000        .66816        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.908        10.659        .62613E-05   -1.5580    
   4  Prefactor     .51126        13.594        .14606E-03   -1.5694    
   5  Prefactor     .44409E-09    2.5227        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.131        7.2966        .12559E-04   -1.5644    
   7  norm          .13711E-07    2.6830        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.2646        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.5735        10.110        .17060E-04   -1.5661    
  10  norm          2.2946        1.4101        .13556E-03   -1.5678    
  11  Prefactor     .17764E-07    3.3427        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.210        12.673        .10946E-04   -1.5635    
  13  Prefactor     .22223        1.0756        .22788E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1855        .69401E-01    .35129E-03   -.87051    
  15  Prefactor     .97188        .28563E-01    .16153E-03   -.93673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8483e-08
Minuit parameter uncertainties:
  1  13.778
  2  1.23683e-06
  3  10.6593
  4  5.2726
  5  6.76886e-05
  6  7.29656
  7  0.000383713
  8  3.84763e-07
  9  10.1104
  10  1.41008
  11  0.000487079
  12  12.6731
  13  0.97782
  14  0.0694066
  15  0.0285635
Done.

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

Extracting fit parameters...

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  0.000e+00  1.237e-06  0.000e+00  1.000e+06 ( 1.000e-12)
107        Index:  2.654e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
108        Scale:  5.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  9.719e-01  2.856e-02  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.186e+00  6.941e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 42.573 -82.404
Photon Flux Upper Limit: 1.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/54525/likelihoodResults_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.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) = 106313.345039
delta logL = 0.162462543667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 106312.741958
delta logL = 0.765543658723

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   106313.5     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      526 TOTAL
                     EDM=   .52E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .75309E-01    .42118E-03** at limit **
   2  Index         1.1424        1.0216       -.16203E-06     .0000    
   3  Normalizat    1.1855        1.1266       -.12759E-05   -.10548E-04
   4  Prefactor     .97188        1.3144       -.19720E-06    .17682E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.14242
  Normalizat = 1.18553
  Prefactor  = 0.97188
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   106313.5     FROM HESSE     STATUS=FAILED         9 CALLS      535 TOTAL
                     EDM=   .52E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .75309E-01    .42118E-03   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1862        1.8395       -.16203E-06   -3759.6    
   3  Normalizat    1.1855        1.1266       -.12759E-05   -32.286    
   4  Prefactor     .97188        1.3144       -.19720E-06   -52.470    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.22113e-14
Minuit parameter uncertainties:
  1  3.00117e-08
  2  1.03999
  3  1.15092
  4  1.36184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54525': 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): 101
logL (Free Index) = 106313.507502
delta logL = 0.0

Extracting fit parameters...

4FGL J0250.2-8224
   Spectrum: PowerLaw
106    Prefactor:  0.000e+00  3.001e-08  0.000e+00  1.000e+06 ( 1.000e-12)
107        Index:  1.142e+00  1.040e+00  0.000e+00  1.000e+01 (-1.000e+00)
108        Scale:  5.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  9.719e-01  1.362e+00  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.186e+00  1.151e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 42.573 -82.404

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/54525/cmap_HighResolution_680227201_682819201_4FGL_J0250.2-8224_monthly_bin171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-03', job_status='DONE', photon_flux_upper_limit='1.65e-08', time_completed='2022-09-17 14:34:37.489368', job_id='54525', GAL2='0.97', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1663450477.49', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='171' AND source_name='4FGL J0250.2-8224' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 14:34:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 54525: <4FGL_J0250.2-8224_monthly_bin171> in cluster <slac> Done

Job <4FGL_J0250.2-8224_monthly_bin171> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 13:05:50 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:11:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:11:18 2022
Terminated at Sat Sep 17 14:34:38 2022
Results reported at Sat Sep 17 14:34:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.2-8224_monthly_bin171 42.5732 -82.4037 680227201 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0250.2-8224 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   90373.00 sec.
    Max Memory :                                 652 MB
    Average Memory :                             634.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   91400 sec.
    Turnaround time :                            91728 sec.

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

