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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1778
RA = 333.226, Dec = -25.4335
tmin = 700185601, tmax = 700444801
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='981205', job_status='RUN', time_executed='2023-03-14 02:15:52.991115', time_epoch_executed='1678785352.99' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/981205

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/981205/ft1_4FGL_J2212.9-2526_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/981205/ft1_4FGL_J2212.9-2526_daily_bin1778.fits outfile=/scratch/kocevski/981205/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1778.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=700185601.0 tmax=700444801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.94
user 3.72
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.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/981205/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 505

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/981205/ltcube_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.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/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits
.....................!
real 11.90
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/981205/ltcube_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.fits outfile=/scratch/kocevski/981205/expmap_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.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/981205/ltcube_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.fits
.....................!
real 190.45
user 184.77
sys 5.29

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

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.fits scfile=/scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits outfile=/scratch/kocevski/981205/cmap_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.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=333.226 yref=-25.4335 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.fits scfile=/scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits outfile=/scratch/kocevski/981205/cmap_HighResolution_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.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=333.226 yref=-25.4335 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/981205/Model_4FGL_J2212.9-2526_daily_bin1778.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/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.fits.....................!
real 51.90
user 50.57
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.fits', '/scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits', expMap='/scratch/kocevski/981205/expmap_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.fits', expCube='/scratch/kocevski/981205/ltcube_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/981205/Model_4FGL_J2212.9-2526_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/981205/ft1_filtered_4FGL_J2212.9-2526_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/981205/ft2_4FGL_J2212.9-2526_daily_bin1778.fits
Exposure map: /scratch/kocevski/981205/expmap_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.fits
Exposure cube: /scratch/kocevski/981205/ltcube_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/981205/Model_4FGL_J2212.9-2526_daily_bin1778.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) = 5569.8208958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18908E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .66169E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17446E-02   1.0000          .0000       .10000E+07
     4 'norm      '    7.3323       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10331       1.0000          .0000       .10000E+07
     6 'Prefactor '    18.277       1.0000          .0000       .10000E+07
     7 'Prefactor '    74.281       1.0000          .0000       .10000E+07
     8 'norm      '    .22626E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    21.211       1.0000          .0000       .10000E+07
    10 'norm      '    .67681       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.9306       1.0000          .0000       .10000E+07
    12 'Prefactor '    19.038       1.0000          .0000       .10000E+07
    13 'Prefactor '    .14775E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    62.416       1.0000          .0000       .10000E+07
    15 'norm      '    .30575E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.904       1.0000          .0000       .10000E+07
    17 'norm      '    .33982       1.0000          .0000       .10000E+07
    18 'Prefactor '    62.795       1.0000          .0000       .10000E+07
    19 'Prefactor '    .19356E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .43998E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .87833E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    18.407       1.0000          .0000       .10000E+07
    23 'norm      '    2.3574       1.0000          .0000       .10000E+07
    24 'Prefactor '    9.8215       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0879       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5569.358     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2389 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11657E-08    6.3070       -.36452E-06** at limit **
   2  Prefactor     .55511E-10    2.1239       -.19093E-06** at limit **
   3  Prefactor     .10547E-08    5.4612       -.43664E-06** at limit **
   4  norm          7.3057        10.009       -.91101E-08   -.27941E-02
   5  Prefactor     .73529        140.05        .74147E-05   -.30241E-02
   6  Prefactor     18.586        3.3778       -.79306E-07    .17607E-01
   7  Prefactor     74.574        6.8591       -.13754E-06   -.16558E-02
   8  norm           .0000        1.8051       -.22453E-06** at limit **
   9  Prefactor     20.859        19.922       -.10331E-06    .11825    
  10  norm          .67641        .33304       -.25753E-07    .53134E-03
  11  Prefactor     8.9953        14.349       -.21988E-06    .95884E-02
  12  Prefactor     17.575        24.281       -.36028E-06   -.10085    
  13  Prefactor     .77716E-09    5.3649        .69389E-07** at limit **
  14  Prefactor     61.356        48.884        .58883E-06   -.75562E-01
  15  norm           .0000        14.788        .42156E-06** at limit **
  16  Prefactor     17.580        17.283        .10483E-06   -.12834    
  17  norm          .26604        12.776        .48504E-06    .20504E-02
  18  Prefactor     65.452        83.763       -.16547E-05   -.39244E-01
  19  Prefactor     .27405E-05    65.239       -.57075E-06** at limit **
  20  norm          .10301E-05    17.112        .58189E-06** at limit **
  21  Prefactor     .24852E-06    20.143       -.16496E-06** at limit **
  22  Prefactor     18.043        15.946        .49897E-06   -.26478E-01
  23  norm          2.3881        1.3615       -.34561E-07    .75652E-03
  24  Prefactor     9.2294        15.414       -.37492E-06    .12987E-01
  25  Normalizat    1.0910        .27276        .81732E-05    .16933E-04
  26  Prefactor     .97910        .20713       -.78294E-05   -.50293E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.16573e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 1.05471e-09
  norm       = 7.30568
  Prefactor  = 0.73529
  Prefactor  = 18.586
  Prefactor  = 74.574
  norm       = 0
  Prefactor  = 20.8591
  norm       = 0.676412
  Prefactor  = 8.99527
  Prefactor  = 17.5749
  Prefactor  = 7.77156e-10
  Prefactor  = 61.3563
  norm       = 0
  Prefactor  = 17.5802
  norm       = 0.266039
  Prefactor  = 65.4518
  Prefactor  = 2.74047e-06
  norm       = 1.03012e-06
  Prefactor  = 2.48523e-07
  Prefactor  = 18.0431
  norm       = 2.38811
  Prefactor  = 9.22938
  Normalizat = 1.09103
  Prefactor  = 0.979098
 **********
 **   18 **HESSE 
 **********

 FCN=   5569.358     FROM HESSE     STATUS=OK           522 CALLS     2911 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11657E-08    6.2859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    2.1263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10547E-08    5.4642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.3057        10.043        .37017E-03   -1.5654    
   5  Prefactor     .73529        15.800        .13841E-01   -1.5691    
   6  Prefactor     18.586        26.548        .23400E-03   -1.5622    
   7  Prefactor     74.574        78.580        .11603E-03   -1.5535    
   8  norm           .0000        1.8039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.859        25.609        .21719E-03   -1.5617    
  10  norm          .67641        .33384        .62611E-03   -1.5692    
  11  Prefactor     8.9953        14.668        .33516E-03   -1.5648    
  12  Prefactor     17.575        29.440        .22927E-03   -1.5624    
  13  Prefactor     .77716E-09    5.3559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     61.356        53.523        .12658E-03   -1.5551    
  15  norm           .0000        14.815        .16420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.580        19.264        .23642E-03   -1.5624    
  17  norm          .26604        2.7179        .56342E-02   -1.5698    
  18  Prefactor     65.452        79.507        .12620E-03   -1.5546    
  19  Prefactor     .27405E-05    66.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10301E-05    19.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .24852E-06    21.956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.043        19.913        .23317E-03   -1.5623    
  23  norm          2.3881        1.3650        .66725E-03   -1.5677    
  24  Prefactor     9.2294        17.595        .31951E-03   -1.5647    
  25  Normalizat    1.0910        .23417        .64674E-01   -.90040    
  26  Prefactor     .97910        .17227        .46016E-01   -.93430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66294e-06
Minuit parameter uncertainties:
  1  0.000171492
  2  2.13952e-05
  3  0.000151369
  4  10.0432
  5  6.81701
  6  26.5478
  7  78.5809
  8  4.8495e-06
  9  25.6093
  10  0.333842
  11  14.6682
  12  29.4404
  13  0.000127634
  14  53.5237
  15  3.25234e-05
  16  19.2642
  17  1.70067
  18  79.5078
  19  0.0269371
  20  0.00904972
  21  0.00467195
  22  19.9127
  23  1.36503
  24  17.595
  25  0.234395
  26  0.172366
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.757e+01  2.944e+01  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.791e-01  1.724e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.091e+00  2.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.45
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 1.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/981205/likelihoodResults_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.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) = 5568.32260787
delta logL = 1.03551584578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5568.27172457
delta logL = 1.08639915142

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5568.272     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      275 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4110        15.570        .90150E-03    .58487E-02
   2  Index         4.2235        2.4818        .10340        .15558E-03
   3  Normalizat    .96773        .61893E-01    .68104E-01    .15585E-04
   4  Prefactor     1.0475        .48308E-01    .40092E-01   -.28626E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.41097
  Index      = 4.22351
  Normalizat = 0.967727
  Prefactor  = 1.04752
 **********
 **   18 **HESSE 
 **********

 FCN=   5568.272     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      308 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4110        31.973        .58425E-05   -1.5684    
   2  Index         4.2235        3.8617        .38963E-02   -.15593    
   3  Normalizat    .96773        .23372        .30127E-03   -.94120    
   4  Prefactor     1.0475        .18050        .22701E-03   -.91162    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.44832e-10
Minuit parameter uncertainties:
  1  13.4334
  2  4.43354
  3  0.233968
  4  0.180602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/981205': 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) = 5568.27171438
delta logL = 1.08640933975

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.411e+00  1.343e+01  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  4.224e+00  4.434e+00  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.048e+00  1.806e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  9.677e-01  2.340e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 4.22 +/- 4.43
Photon Flux (Free Index): 1.20e-07 +/- 8.49e-08
Energy Flux (Free Index): 1.74e-05 +/- 1.79e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/981205/cmap_HighResolution_700185601_700444801_4FGL_J2212.9-2526_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', energy_flux2='1.74e-05', dlogl='1.09e+00', photon_flux2='1.20e-07', job_status='DONE', time_completed='2023-03-14 02:25:27.229861', photon_index_error2='4.43', photon_index2='4.22', ts='0.45', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='1.79e-05', EG='1.09', time_epoch_completed='1678785927.23', return_code='0', job_id='981205', GAL2='1.05', EG2='0.97', return_code2='102', photon_flux_error2='8.49e-08', ts2='2.87', photon_index='2.26' WHERE bin_id='1778' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:25:27 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 981205: <4FGL_J2212.9-2526_daily_bin1778> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1778> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Mar 14 02:15:19 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:15:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:15:20 2023
Terminated at Tue Mar 14 02:25:28 2023
Results reported at Tue Mar 14 02:25:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1778 333.226 -25.4335 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   576.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   607 sec.
    Turnaround time :                            609 sec.

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

