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


Performing analysis on: 4FGL_J0612.5-3138_monthly_bin170
RA = 93.128, Dec = -31.6381
tmin = 677635201, tmax = 680227201
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='87396', job_status='RUN', time_executed='2022-07-23 00:53:33.574359', time_epoch_executed='1658562813.57' WHERE source_name='4FGL J0612.5-3138' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87396

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87396/ft1_4FGL_J0612.5-3138_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87396/ft1_4FGL_J0612.5-3138_monthly_bin170.fits outfile=/scratch/kocevski/87396/ft1_filteredMKT_4FGL_J0612.5-3138_monthly_bin170.fits ra=93.128 dec=-31.6381 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.08
user 31.21
sys 0.78

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.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/87396/ft1_filteredMKT_4FGL_J0612.5-3138_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.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.85
user 0.65
sys 0.17

Number of photons that the gtmktime cut: 9692

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/87396/ltcube_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.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/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits
.....................!
real 110.35
user 109.82
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/87396/ltcube_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.fits outfile=/scratch/kocevski/87396/expmap_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.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/87396/ltcube_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.fits
.....................!
real 192.17
user 186.34
sys 5.49

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

Setting source of interest to:
4FGL J0612.5-3138 @ 93.128 -31.6381

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.fits scfile=/scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits outfile=/scratch/kocevski/87396/cmap_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.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=93.128 yref=-31.6381 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.78
user 0.61
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.fits scfile=/scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits outfile=/scratch/kocevski/87396/cmap_HighResolution_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.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=93.128 yref=-31.6381 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.79
user 0.62
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87396/Model_4FGL_J0612.5-3138_monthly_bin170.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/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.fits.....................!
real 1090.58
user 1087.55
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.fits', '/scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits', expMap='/scratch/kocevski/87396/expmap_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.fits', expCube='/scratch/kocevski/87396/ltcube_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/87396/Model_4FGL_J0612.5-3138_monthly_bin170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0612.5-3138'

4FGL J0612.5-3138
   Spectrum: PowerLaw
306    Prefactor:  8.025e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
307        Index:  2.500e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
308        Scale:  8.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/87396/ft1_filtered_4FGL_J0612.5-3138_monthly_bin170.fits
Spacecraft file(s): /scratch/kocevski/87396/ft2_4FGL_J0612.5-3138_monthly_bin170.fits
Exposure map: /scratch/kocevski/87396/expmap_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.fits
Exposure cube: /scratch/kocevski/87396/ltcube_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/87396/Model_4FGL_J0612.5-3138_monthly_bin170.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 102183.126116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0068       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28038E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .51736       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .86475       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1770       1.0000         .10000E-03   10000.    
     6 'norm      '    2.7742       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .92357       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .71956E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    46.803       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5041       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .32194E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8315       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .72797       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5074       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.6653       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.8848       1.0000         .10000E-03   10000.    
    24 'norm      '    2.2502       1.0000         .10000E-03   10000.    
    25 'norm      '    .91107       1.0000         .10000E-03   10000.    
    26 'Prefactor '    15.505       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.8521       1.0000         .10000E-03   10000.    
    28 'norm      '    3.5178       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .55040E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    26.008       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .92805       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0477       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   102182.9     FROM MIGRAD    STATUS=CONVERGED    902 CALLS     4018 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0070        .63532         .0000        .40062E-02
   2  Prefactor     .10000E-03    1.5150         .0000    ** at limit **
   3  Prefactor     .51852        .90500         .0000        .10615E-01
   4  Prefactor     .86250        2.8671         .0000        .18889    
   5  Prefactor     2.1770        1.6335         .0000        .18065E-01
   6  norm          2.7714        1.2347         .0000        .91739E-02
   7  Prefactor     .10000E-03    1.2230         .0000    ** at limit **
   8  norm          .92390        .49415         .0000        .16585E-01
   9  norm          .10000E-03    .74490         .0000    ** at limit **
  10  Prefactor     .10000E-03    .29586         .0000    ** at limit **
  11  Prefactor     .10007E-03    21.181         .0000    ** at limit **
  12  Prefactor     46.822        9.9480         .0000        .17863E-02
  13  Prefactor     6.5069        5.9287         .0000        .20060E-02
  14  Prefactor     .10000E-03    .89157         .0000    ** at limit **
  15  Prefactor     5.8308        7.8212         .0000        .10014E-02
  16  Prefactor     .72794        1.4380         .0000        .67838E-02
  17  norm          .10000E-03    .22811         .0000    ** at limit **
  18  Prefactor     .10000E-03    1.2247         .0000    ** at limit **
  19  Prefactor     2.5080        1.0617         .0000       -.66824E-04
  20  Prefactor     .10000E-03    1.5652         .0000    ** at limit **
  21  norm          .10000E-03    1.3361         .0000    ** at limit **
  22  Prefactor     2.6600        2.8641         .0000        .60959E-03
  23  Prefactor     2.8889        1.2093         .0000        .35836E-02
  24  norm          2.2506        .42969         .0000       -.51069E-03
  25  norm          .90986        1.2128         .0000        .10103E-01
  26  Prefactor     15.504        1.6619         .0000        .25436E-02
  27  Prefactor     1.8514        1.1447         .0000        .13831E-01
  28  norm          3.5229        2.3382         .0000        .60063E-01
  29  Prefactor     .10000E-03    .52211         .0000    ** at limit **
  30  norm          .10002E-03    17.748         .0000    ** at limit **
  31  norm          25.951        10.794         .0000        .16067E-02
  32  Normalizat    .92803        .57257E-01     .0000        .25980E-03
  33  Prefactor     1.0477        .28771E-01     .0000       -.18792E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.00705
  Prefactor  = 0.0001
  Prefactor  = 0.518515
  Prefactor  = 0.862495
  Prefactor  = 2.17704
  norm       = 2.77142
  Prefactor  = 0.0001
  norm       = 0.923896
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100068
  Prefactor  = 46.8217
  Prefactor  = 6.50694
  Prefactor  = 0.0001
  Prefactor  = 5.83076
  Prefactor  = 0.727937
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.50798
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 2.66004
  Prefactor  = 2.88888
  norm       = 2.25065
  norm       = 0.909862
  Prefactor  = 15.5036
  Prefactor  = 1.8514
  norm       = 3.52286
  Prefactor  = 0.0001
  norm       = 0.000100019
  norm       = 25.9511
  Normalizat = 0.928028
  Prefactor  = 1.04767
 **********
 **   18 **HESSE 
 **********

 FCN=   102182.9     FROM HESSE     STATUS=OK           715 CALLS     4733 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0070        .63033        .11027E-03   -1.5361    
   2  Prefactor     .10000E-03    10.647        .75089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .51852        1.4415        .35660E-02   -1.5564    
   4  Prefactor     .86250        2.8106        .25358E-02   -1.5522    
   5  Prefactor     2.1770        1.6279        .13952E-02   -1.5413    
   6  norm          2.7714        1.2278        .20577E-03   -1.5375    
   7  Prefactor     .10000E-03    1.2252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .92390        .47721        .15071E-03   -1.5516    
   9  norm          .10000E-03    .75286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.3997        .33557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10007E-03    22.052        .41928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.822        9.9351        .58609E-04   -1.4338    
  13  Prefactor     6.5069        5.8862        .15736E-03   -1.5198    
  14  Prefactor     .10000E-03    5.4781        .51396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.8308        7.7581        .16631E-03   -1.5225    
  16  Prefactor     .72794        2.4480        .44821E-02   -1.5537    
  17  norm          .10000E-03    .50158        .29004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.2420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.5080        1.0494        .25805E-04   -1.5391    
  20  Prefactor     .10000E-03    1.5931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.3418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.6600        2.8582        .24965E-03   -1.5382    
  23  Prefactor     2.8889        1.2076        .22043E-03   -1.5368    
  24  norm          2.2506        .42965        .86965E-04   -1.5408    
  25  norm          .90986        1.3891        .37048E-02   -1.5517    
  26  Prefactor     15.504        1.6026        .10172E-03   -1.4920    
  27  Prefactor     1.8514        1.1373        .25403E-03   -1.5436    
  28  norm          3.5229        2.3325        .10777E-02   -1.5333    
  29  Prefactor     .10000E-03    .52771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10002E-03    18.289        .42218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          25.951        10.822        .78552E-04   -1.4689    
  32  Normalizat    .92803        .62173E-01    .33716E-03   -.95482    
  33  Prefactor     1.0477        .32298E-01    .17954E-03   -.91157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79167e-06
Minuit parameter uncertainties:
  1  0.63033
  2  0.000139308
  3  1.4416
  4  2.81107
  5  1.6279
  6  1.22782
  7  1.94097e-05
  8  0.477211
  9  2.59415e-07
  10  5.24244e-05
  11  0.00245326
  12  9.9354
  13  5.88671
  14  3.86543e-07
  15  7.7594
  16  2.44831
  17  6.19799e-08
  18  4.90924e-05
  19  1.04938
  20  7.64296e-06
  21  7.23611e-05
  22  2.85839
  23  1.2076
  24  0.42965
  25  1.38918
  26  1.60258
  27  1.13728
  28  2.33254
  29  8.47776e-07
  30  0.00117118
  31  10.8224
  32  0.0621775
  33  0.0322987
Done.

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

Extracting fit parameters...

4FGL J0612.5-3138
   Spectrum: PowerLaw
306    Prefactor:  6.507e+00  5.887e+00  1.000e-04  1.000e+04 ( 1.000e-13)
307        Index:  2.500e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
308        Scale:  8.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
624    Prefactor:  1.048e+00  3.230e-02  0.000e+00  1.000e+01 ( 1.000e+00)
625        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
626        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
623   Normalization:  9.280e-01  6.218e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.91
Ra Dec: 93.128 -31.638
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 9.76e-09 +/- 8.82e-09
Energy Flux (Fixed Index): 2.83e-06 +/- 2.56e-06

TS (Fixed Index): 1.91
Ra Dec: 93.128 -31.638
Photon Flux Upper Limit: 2.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/87396/likelihoodResults_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.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) = 102182.844802
delta logL = 0.0264077844913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 102182.840098
delta logL = 0.0311123025604

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   102182.8     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      235 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0957        27.853        .37612E-02    .28470E-03
   2  Index         2.3749        .54789        .50000        .64464E-04
   3  Normalizat    .92923        .68673E-02    .76140E-01    .32493E-03
   4  Prefactor     1.0473        .38466E-02    .40071E-01   -.25000E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.09568
  Index      = 2.37494
  Normalizat = 0.929229
  Prefactor  = 1.04727
 **********
 **   18 **HESSE 
 **********

 FCN=   102182.8     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0957        6.2547        .15045E-03   -1.5175    
   2  Index         2.3749        .49663        .84550E-02   -.55273    
   3  Normalizat    .92923        .54790E-01    .33696E-03   -.95441    
   4  Prefactor     1.0473        .30714E-01    .17957E-03   -.91170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77098e-12
Minuit parameter uncertainties:
  1  6.25529
  2  0.497767
  3  0.0547937
  4  0.030715
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87396': 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) = 102182.840093
delta logL = 0.0311171244539

Extracting fit parameters...

4FGL J0612.5-3138
   Spectrum: PowerLaw
306    Prefactor:  7.096e+00  6.255e+00  1.000e-04  1.000e+04 ( 1.000e-13)
307        Index:  2.375e+00  4.978e-01  0.000e+00  1.000e+01 (-1.000e+00)
308        Scale:  8.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
624    Prefactor:  1.047e+00  3.071e-02  0.000e+00  1.000e+01 ( 1.000e+00)
625        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
626        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
623   Normalization:  9.292e-01  5.479e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 93.128 -31.638
Photon Index (Free Index): 2.37 +/- 0.50
Photon Flux (Free Index): 8.85e-09 +/- 8.35e-09
Energy Flux (Free Index): 3.00e-06 +/- 2.62e-06

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/87396/cmap_HighResolution_677635201_680227201_4FGL_J0612.5-3138_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.02e-03', comment='SUCCESS', photon_flux='9.76e-09', energy_flux2='3.00e-06', photon_flux_error='8.82e-09', dlogl='3.11e-02', energy_flux='2.83e-06', photon_flux2='8.85e-09', job_status='DONE', time_completed='2022-07-23 04:00:59.438672', photon_index_error2='0.50', photon_index2='2.37', ts='1.91', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='2.60e-08', energy_flux_error2='2.62e-06', EG='0.93', time_epoch_completed='1658574059.44', return_code='0', job_id='87396', GAL2='1.05', EG2='0.93', return_code2='0', energy_flux_error='2.56e-06', photon_flux_error2='8.35e-09', ts2='1.97', photon_index='2.50' WHERE bin_id='170' AND source_name='4FGL J0612.5-3138' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 04:00:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 87396: <4FGL_J0612.5-3138_monthly_bin170> in cluster <slac> Done

Job <4FGL_J0612.5-3138_monthly_bin170> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:50:39 2022
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:50:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:50:39 2022
Terminated at Sat Jul 23 04:01:00 2022
Results reported at Sat Jul 23 04:01:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0612.5-3138_monthly_bin170 93.128 -31.6381 677635201 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0612.5-3138 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11227.00 sec.
    Max Memory :                                 634 MB
    Average Memory :                             446.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   11421 sec.
    Turnaround time :                            11421 sec.

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

