/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 135 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 = 7390
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2212.9-2526_daily_bin833
RA = 333.226, Dec = -25.4335
tmin = 455241601, tmax = 455500801
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='222945', job_status='RUN', time_executed='2021-09-28 07:08:12.272689', time_epoch_executed='1632838092.27' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='833'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222945

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222945/ft1_4FGL_J2212.9-2526_daily_bin833.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222945/ft1_4FGL_J2212.9-2526_daily_bin833.fits outfile=/scratch/kocevski/222945/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin833.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=455241601.0 tmax=455500801.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.45
user 3.21
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222945/ft1_filtered_4FGL_J2212.9-2526_daily_bin833.fits" evtable="EVENTS" scfile=/scratch/kocevski/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits sctable="SC_DATA" outfile=/scratch/kocevski/222945/ltcube_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.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/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits
.....................!
real 11.77
user 11.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222945/ft1_filtered_4FGL_J2212.9-2526_daily_bin833.fits evtable="EVENTS" scfile=/scratch/kocevski/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits sctable="SC_DATA" expcube=/scratch/kocevski/222945/ltcube_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.fits outfile=/scratch/kocevski/222945/expmap_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.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/222945/ltcube_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.fits
.....................!
real 190.68
user 185.29
sys 5.04

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/222945/ft1_filtered_4FGL_J2212.9-2526_daily_bin833.fits scfile=/scratch/kocevski/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits outfile=/scratch/kocevski/222945/cmap_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.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.78
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222945/ft1_filtered_4FGL_J2212.9-2526_daily_bin833.fits scfile=/scratch/kocevski/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits outfile=/scratch/kocevski/222945/cmap_HighResolution_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.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.57
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222945/ft1_filtered_4FGL_J2212.9-2526_daily_bin833.fits evtable="EVENTS" scfile=/scratch/kocevski/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222945/Model_4FGL_J2212.9-2526_daily_bin833.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/222945/ft1_filtered_4FGL_J2212.9-2526_daily_bin833.fits.....................!
real 48.18
user 46.75
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222945/ft1_filtered_4FGL_J2212.9-2526_daily_bin833.fits', '/scratch/kocevski/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits', expMap='/scratch/kocevski/222945/expmap_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.fits', expCube='/scratch/kocevski/222945/ltcube_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222945/Model_4FGL_J2212.9-2526_daily_bin833.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  1.000e-04  1.000e+04 ( 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/222945/ft1_filtered_4FGL_J2212.9-2526_daily_bin833.fits
Spacecraft file(s): /scratch/kocevski/222945/ft2_4FGL_J2212.9-2526_daily_bin833.fits
Exposure map: /scratch/kocevski/222945/expmap_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.fits
Exposure cube: /scratch/kocevski/222945/ltcube_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222945/Model_4FGL_J2212.9-2526_daily_bin833.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) = 5470.52484402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.458       1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.795       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.045       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8018       1.0000         .10000E-03   10000.    
     7 'Prefactor '    49.129       1.0000         .10000E-03   10000.    
     8 'norm      '    3.2954       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.969       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0197       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.504       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6970       1.0000         .10000E-03   10000.    
    17 'norm      '    3.3842       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18571E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67329       1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8521       1.0000         .10000E-03   10000.    
    22 'Prefactor '    23.168       1.0000         .10000E-03   10000.    
    23 'norm      '    .85337       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .56361       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0926       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5469.904     FROM MIGRAD    STATUS=CONVERGED    606 CALLS     3701 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1920        .26710E-07** at limit **
   2  Prefactor     14.457        9.5357       -.10959E-06    .14449E-04
   3  Prefactor     37.795        20.051       -.52074E-06    .61355E-04
   4  norm          .10000E-03    2.2941       -.31983E-07** at limit **
   5  Prefactor     13.047        21.654        .32834E-06    .10732E-04
   6  Prefactor     2.7924        114.99       -.11381E-04   -.31119E-04
   7  Prefactor     49.125        114.92        .34596E-05    .11395E-03
   8  norm          3.2954        5.0040        .50069E-06    .27779E-03
   9  Prefactor     12.969        15.695       -.42664E-07    .57914E-05
  10  norm          1.0197        .38657        .22535E-08    .59561E-03
  11  Prefactor     .10000E-03    3.8601        .27216E-08** at limit **
  12  Prefactor     .10000E-03    4.3381        .41476E-07** at limit **
  13  Prefactor     .10000E-03    2.9425       -.22305E-07** at limit **
  14  Prefactor     13.506        73.236       -.12678E-05    .31623E-06
  15  norm          .10000E-03    10.592        .11541E-07** at limit **
  16  Prefactor     4.6971        8.6744        .19678E-05    .44655E-03
  17  norm          3.3843        2.4924       -.10139E-06   -.26732E-04
  18  Prefactor     .10000E-03    139.60        .10345E-05** at limit **
  19  Prefactor     .67659        22.299       -.61716E-05    .31795E-03
  20  norm          .10000E-03    1.8507       -.16204E-06** at limit **
  21  Prefactor     1.8519        25.928        .17205E-05    .36729E-04
  22  Prefactor     23.168        13.137        .25622E-06    .16184E-03
  23  norm          .85329        .69833       -.11039E-06   -.31205E-04
  24  Prefactor     .10000E-03    7.0019       -.21463E-06** at limit **
  25  Normalizat    .56362        .21202        .81107E-06    .16984E-03
  26  Prefactor     1.0926        .16619       -.39227E-06    .11023E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 14.4574
  Prefactor  = 37.7954
  norm       = 0.0001
  Prefactor  = 13.0466
  Prefactor  = 2.79242
  Prefactor  = 49.1249
  norm       = 3.29541
  Prefactor  = 12.969
  norm       = 1.01973
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.5062
  norm       = 0.0001
  Prefactor  = 4.69712
  norm       = 3.38429
  Prefactor  = 0.0001
  Prefactor  = 0.67659
  norm       = 0.0001
  Prefactor  = 1.85188
  Prefactor  = 23.1677
  norm       = 0.853293
  Prefactor  = 0.0001
  Normalizat = 0.56362
  Prefactor  = 1.09264
 **********
 **   18 **HESSE 
 **********

 FCN=   5469.904     FROM HESSE     STATUS=OK           462 CALLS     4163 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1924        .10694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.457        9.5371        .10534E-03   -1.4947    
   3  Prefactor     37.795        20.054        .65193E-04   -1.4478    
   4  norm          .10000E-03    2.2976        .10939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.047        21.661        .11090E-03   -1.4985    
   6  Prefactor     2.7924        100.39        .24304E-03   -1.5374    
   7  Prefactor     49.125        102.66        .57212E-04   -1.4305    
   8  norm          3.2954        4.9916        .17693E-03   -1.5345    
   9  Prefactor     12.969        15.709        .11123E-03   -1.4988    
  10  norm          1.0197        .38815        .26097E-04   -1.5506    
  11  Prefactor     .10000E-03    3.8706        .14189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3410        .15044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.9534        .12388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.506        73.191        .10900E-03   -1.4973    
  15  norm          .10000E-03    10.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.6971        9.5875        .92839E-03   -1.5274    
  17  norm          3.3843        2.4817        .95748E-04   -1.5340    
  18  Prefactor     .10000E-03    140.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .67659        37.010        .42540E-02   -1.5543    
  20  norm          .10000E-03    1.8677        .98099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.8519        24.367        .30632E-03   -1.5436    
  22  Prefactor     23.168        12.809        .83219E-04   -1.4745    
  23  norm          .85329        .68599        .46374E-04   -1.5523    
  24  Prefactor     .10000E-03    7.0271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .56362        .24407        .32401E-03   -1.0955    
  26  Prefactor     1.0926        .19285        .19779E-03   -.89702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92187e-09
Minuit parameter uncertainties:
  1  1.04333e-06
  2  9.53809
  3  20.0579
  4  1.3479e-06
  5  21.6736
  6  33.5469
  7  103.029
  8  4.99222
  9  15.7136
  10  0.388151
  11  3.3522e-06
  12  8.71141e-07
  13  1.10392e-06
  14  63.0013
  15  3.74862e-06
  16  9.59065
  17  2.48177
  18  0.000228482
  19  10.0139
  20  1.09044e-05
  21  13.4413
  22  12.8102
  23  0.685996
  24  2.89007e-05
  25  0.244536
  26  0.192971
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  8.711e-07  1.000e-04  1.000e+04 ( 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:  1.093e+00  1.930e-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:  5.636e-01  2.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 4.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222945/likelihoodResults_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.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) = 5469.9049146
delta logL = -0.00108488849946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5469.90382979
delta logL = -8.070946933e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2374       1.0000          .0000       10.000    
     3 'Normalizat'    .56372       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0926       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5469.904     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      253 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.522        .15234E-01** at limit **
   2  Index         1.7417        8.2352        .50000        .15345E-06
   3  Normalizat    .56362        .85465E-02    .32401E-03    .30456E-04
   4  Prefactor     1.0926        .71368E-02    .19779E-03    .53088E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.74174
  Normalizat = 0.563617
  Prefactor  = 1.09264
 **********
 **   18 **HESSE 
 **********

 FCN=   5469.904     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    215.45        .16686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7417        5.8192        .50000       -.70976    
   3  Normalizat    .56362        .30487E-01    .12960E-04   -1.0955    
   4  Prefactor     1.0926        .25458E-01    .39558E-04   -.89702    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.10201e-10
Minuit parameter uncertainties:
  1  0.00021753
  2  937.324
  3  0.0304878
  4  0.0254588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222945': 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) = 5469.90382756
delta logL = 2.15258023673e-06

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  2.175e-04  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  1.742e+00  9.373e+02  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.093e+00  2.546e-02  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:  5.636e-01  3.049e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 333.226 -25.433

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/222945/cmap_HighResolution_455241601_455500801_4FGL_J2212.9-2526_daily_bin833.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', job_status='DONE', photon_flux_upper_limit='4.34e-08', time_completed='2021-09-28 07:19:06.111740', job_id='222945', GAL2='1.09', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1632838746.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='833' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:19:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 222945: <4FGL_J2212.9-2526_daily_bin833> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin833> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:05:44 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:05:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:05:45 2021
Terminated at Tue Sep 28 07:19:07 2021
Results reported at Tue Sep 28 07:19:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin833 333.226 -25.4335 455241601 455500801 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 :                                   646.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             274.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            803 sec.

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

